Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class Bearer implements Authentication |
||
10 | { |
||
11 | /** |
||
12 | * @var TokenManager |
||
13 | */ |
||
14 | private $tokenManager; |
||
15 | |||
16 | /** |
||
17 | * @param string $token |
||
18 | */ |
||
19 | public function __construct(TokenManager $tokenManager) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | public function authenticate(RequestInterface $request) |
||
39 |