Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class BasicAuthentication extends AuthenticationProcess |
||
17 | { |
||
18 | |||
19 | public function __construct( |
||
20 | private readonly User $user, |
||
21 | ) |
||
22 | { |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Authenticate request data |
||
27 | */ |
||
28 | protected function authRequestData(IInput $input): bool |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Authenticate request timeout |
||
38 | * @throws RequestTimeoutException |
||
39 | */ |
||
40 | protected function authRequestTimeout(IInput $input): bool |
||
48 |