Total Complexity | 7 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class Composite implements AuthenticationMethodInterface |
||
16 | { |
||
17 | /** |
||
18 | * @param AuthenticationMethodInterface[] $methods |
||
19 | */ |
||
20 | 5 | public function __construct(private array $methods) |
|
21 | { |
||
22 | 5 | } |
|
23 | |||
24 | 4 | public function authenticate(ServerRequestInterface $request): ?IdentityInterface |
|
38 | } |
||
39 | |||
40 | 1 | public function challenge(ResponseInterface $response): ResponseInterface |
|
46 | } |
||
47 | } |
||
48 |