Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | 1 | class SecuredAuthentication extends AuthenticationProcess |
|
16 | { |
||
17 | |||
18 | 1 | public function __construct( |
|
19 | private readonly HashAuthenticator $hashAuth, |
||
20 | private readonly TimeoutAuthenticator $timeAuth, |
||
21 | ) |
||
22 | { |
||
23 | 1 | } |
|
24 | |||
25 | /** |
||
26 | * Authenticate request data |
||
27 | */ |
||
28 | protected function authRequestData(IInput $input): bool |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Authenticate request time |
||
35 | */ |
||
36 | protected function authRequestTimeout(IInput $input): bool |
||
41 |