__construct |
( |
Request |
$request, |
|
|
|
$authenticator |
|
) |
| |
- Parameters
-
Request | $request | |
callable | $authenticator | |
addChallenge |
( |
Response |
$response | ) |
|
Validate a user's credentials.
- Parameters
-
Response | $response | the current response |
- Returns
- Response the new response containing the challenge
Implements Strategy.
Determine if the current user is authenticated.
- Returns
- bool
Implements Strategy.
Get the currently authenticated user.
- Returns
- ?
Implements Strategy.
The documentation for this class was generated from the following file: