Stud.IP  5.4
OAuth1Strategy Class Reference
Inheritance diagram for OAuth1Strategy:
Strategy

Public Member Functions

 __construct (Request $request, $authenticator)
 
 check ()
 
 user ()
 
 addChallenge (Response $response)
 

Protected Attributes

 $authenticator
 
 $request
 
 $user
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( Request  $request,
  $authenticator 
)
Parameters
callable$authenticator

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

Implements Strategy.

◆ check()

check ( )

Determine if the current user is authenticated.

Returns
bool

Implements Strategy.

◆ user()

user ( )

Get the currently authenticated user.

Returns
?

Implements Strategy.

Field Documentation

◆ $authenticator

$authenticator
protected

◆ $request

$request
protected

◆ $user

$user
protected

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