BasicRequestAuthenticator
in package
implements
WebRequestAuthenticator
Class UserAuthenticator
Interfaces, Classes and Traits
- WebRequestAuthenticator
- Interface WebRequestAuthenticator
Table of Contents
- $userAuthenticator : UserAuthenticator
- __construct() : mixed
- BasicRequestAuthenticator constructor.
- authenticateWebRequest() : UserId
- Authenticates the provided server request and returns the user ID.
Properties
$userAuthenticator
private
UserAuthenticator
$userAuthenticator
Methods
__construct()
BasicRequestAuthenticator constructor.
public
__construct(UserAuthenticator $userAuthenticator) : mixed
Parameters
- $userAuthenticator : UserAuthenticator
Return values
mixed —authenticateWebRequest()
Authenticates the provided server request and returns the user ID.
public
authenticateWebRequest(ServerRequestInterface $request) : UserId
Parameters
- $request : ServerRequestInterface