Total Complexity | 8 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class NoneResponseType implements ResponseTypeInterface |
||
18 | { |
||
19 | public function getResponseType(): string |
||
20 | { |
||
21 | return 'none'; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param ServerRequestInterface $request |
||
26 | * @param ResourceOwnerInterface $resourceOwner |
||
27 | * @param RegisteredClient $client |
||
28 | * @param array|null $scope |
||
29 | * @param array|null $extendedResponseTypes |
||
30 | * @return array |
||
31 | */ |
||
32 | public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner, |
||
36 | } |
||
37 | |||
38 | public function getDefaultResponseMode(): string |
||
39 | { |
||
40 | return self::RESPONSE_MODE_QUERY; |
||
|
|||
41 | } |
||
42 | |||
43 | public function isImplicit(): bool |
||
44 | { |
||
45 | return false; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @param ServerRequestInterface $request |
||
50 | */ |
||
51 | public function verifyRequest(ServerRequestInterface $request): void |
||
52 | { |
||
53 | } |
||
54 | |||
55 | public function requireTLS(): bool |
||
58 | } |
||
59 | |||
60 | public function isMultiValuedResponseTypeSupported() : bool { |
||
62 | } |
||
63 | |||
64 | public function getExtendedResponseTypes(): ?array |
||
67 | } |
||
68 | } |