| 1 | <?php |
||
| 14 | final class RequestConditional implements Authentication |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var Authentication |
||
| 18 | */ |
||
| 19 | private $authentication; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var RequestMatcher |
||
| 23 | */ |
||
| 24 | private $matcher; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Authentication $authentication |
||
| 28 | * @param RequestMatcher $matcher |
||
| 29 | */ |
||
| 30 | public function __construct(Authentication $authentication, RequestMatcher $matcher) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function authenticate(RequestInterface $request) |
||
| 47 | } |
||
| 48 |