Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class HybridFlow implements FlowInterface |
||
15 | { |
||
16 | |||
17 | function getResponseTypes(): array |
||
|
|||
18 | { |
||
19 | return ['code id_token', 'code token', 'code id_token token']; |
||
20 | } |
||
21 | |||
22 | function handleAuthorizationRequest(AuthorizationEndpoint $authorizationEndpoint, array $requestData): array |
||
25 | } |
||
26 | |||
27 | function getDefaultResponseMode(): string |
||
28 | { |
||
29 | return 'fragment'; |
||
30 | } |
||
31 | |||
32 | function getUnsupportedResponseModes(): array |
||
35 | } |
||
36 | |||
37 | } |
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.