| Total Complexity | 6 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class HybridFlow implements FlowInterface |
||
| 17 | { |
||
| 18 | |||
| 19 | function getResponseTypes(): array |
||
|
|
|||
| 20 | { |
||
| 21 | return ['code id_token', 'code token', 'code id_token token']; |
||
| 22 | } |
||
| 23 | |||
| 24 | function handleAuthorizationRequest(AuthorizationEndpoint $authorizationEndpoint, array $requestData): array |
||
| 25 | { |
||
| 26 | return ['code' => '123']; |
||
| 27 | } |
||
| 28 | |||
| 29 | function getDefaultResponseMode(): string |
||
| 30 | { |
||
| 31 | return 'fragment'; |
||
| 32 | } |
||
| 33 | |||
| 34 | function getUnsupportedResponseModes(): array |
||
| 37 | } |
||
| 38 | |||
| 39 | function getGrantTypes(): array |
||
| 40 | { |
||
| 41 | return []; |
||
| 42 | } |
||
| 43 | |||
| 44 | function handleAccessTokenRequest(TokenEndpoint $tokenEndpoint, array $requestData): array |
||
| 47 | } |
||
| 48 | } |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.