Stud.IP  5.4
Strategy Interface Reference
Inheritance diagram for Strategy:
HttpBasicAuthStrategy OAuth1Strategy OAuth2Strategy SessionStrategy

Public Member Functions

 check ()
 
 user ()
 
 addChallenge (Response $response)
 

Member Function Documentation

◆ addChallenge()

addChallenge ( Response  $response)

Validate a user's credentials.

Parameters
Response$responsethe current response
Returns
Response the new response containing the challenge

Implemented in HttpBasicAuthStrategy, OAuth2Strategy, OAuth1Strategy, and SessionStrategy.

◆ check()

check ( )

Determine if the current user is authenticated.

Returns
bool

Implemented in OAuth2Strategy, OAuth1Strategy, HttpBasicAuthStrategy, and SessionStrategy.

◆ user()

user ( )

Get the currently authenticated user.

Returns
?

Implemented in OAuth2Strategy, OAuth1Strategy, HttpBasicAuthStrategy, and SessionStrategy.


The documentation for this interface was generated from the following file: