Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 62.5% |
Changes | 0 |
1 | <?php |
||
15 | class Implicit extends GrantType |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * Get identifier string to this grant type |
||
20 | */ |
||
21 | public function getIdentifier(): string |
||
22 | { |
||
23 | return self::IMPLICIT; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Verify grant type |
||
28 | */ |
||
29 | protected function verifyGrantType(IClient $client): void |
||
30 | { |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Verify request |
||
35 | * @return void |
||
36 | */ |
||
37 | protected function verifyRequest(): void |
||
38 | { |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Generate access token |
||
43 | * @param IClient $client |
||
44 | * @return array<string, string|int> |
||
45 | */ |
||
46 | protected function generateAccessToken(IClient $client): array |
||
56 | ]; |
||
57 | } |
||
58 | } |
||
59 |