| 1 | <?php |
||
| 13 | final class Chain implements Authentication |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var Authentication[] |
||
| 17 | */ |
||
| 18 | private $authenticationChain = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param Authentication[] $authenticationChain |
||
| 22 | */ |
||
| 23 | 5 | public function __construct(array $authenticationChain = []) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Returns the current authentication chain. |
||
| 38 | * |
||
| 39 | * @return Authentication[] |
||
| 40 | */ |
||
| 41 | 1 | public function getAuthenticationChain() |
|
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 1 | public function authenticate(RequestInterface $request) |
|
| 57 | } |
||
| 58 |