Open Journal Systems
3.3.0
|
Public Member Functions | |
authenticate (RequestInterface $request) | |
Add authentication information to a PSR-7 Request.
Definition at line 12 of file Authentication.php.
Http\Message\Authentication::authenticate | ( | RequestInterface | $request | ) |
Alter the request to add the authentication credentials.
To do that, the implementation might use pre-stored credentials or do separate HTTP requests to obtain a valid token.
RequestInterface | $request | The request without authentication information |
Implemented in Http\Message\Authentication\Matching, Http\Message\Authentication\RequestConditional, Http\Message\Authentication\BasicAuth, Http\Message\Authentication\Wsse, Http\Message\Authentication\Chain, Http\Message\Authentication\QueryParam, Http\Message\Authentication\AutoBasicAuth, and Http\Message\Authentication\Bearer.