Authenticate a PSR-7 Request with a multiple authentication methods.
- Author
- Márk Sági-Kazár mark..nosp@m.sagi.nosp@m.kazar.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Definition at line 13 of file Chain.php.
◆ __construct()
| Http\Message\Authentication\Chain::__construct |
( |
array |
$authenticationChain = [] | ) |
|
◆ authenticate()
{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.
- Parameters
-
| RequestInterface | $request | The request without authentication information |
- Returns
- RequestInterface The request with added authentication information
}
Implements Http\Message\Authentication.
Definition at line 42 of file Chain.php.
The documentation for this class was generated from the following file: