Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Strategy Interface Reference
Inheritance diagram for Strategy:
HttpBasicAuthStrategy OAuth1Strategy OAuth2Strategy SessionStrategy

Public Member Functions

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

Member Function Documentation

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 ( )

Determine if the current user is authenticated.

Returns
bool

Implemented in OAuth2Strategy, OAuth1Strategy, HttpBasicAuthStrategy, and SessionStrategy.

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: