@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @throws OAuthException |
| 45 | 45 | */ |
| 46 | 46 | public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner, |
| 47 | - RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 47 | + RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 48 | 48 | { |
| 49 | 49 | if (is_array($client->getSupportedGrantTypes()) && !in_array('authorization_code', $client->getSupportedGrantTypes())) { |
| 50 | 50 | throw new OAuthException('unauthorized_client', |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * @return array |
| 29 | 29 | */ |
| 30 | 30 | public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner, |
| 31 | - RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array; |
|
| 31 | + RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array; |
|
| 32 | 32 | |
| 33 | 33 | public function getDefaultResponseMode(): string; |
| 34 | 34 | public function isQueryResponseModeSupported(): bool; |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * @return array |
| 41 | 41 | */ |
| 42 | 42 | public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner, |
| 43 | - RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 43 | + RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 44 | 44 | { |
| 45 | 45 | // TODO: Implement handle() method. |
| 46 | 46 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | * @return array |
| 34 | 34 | */ |
| 35 | 35 | public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner, |
| 36 | - RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 36 | + RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 37 | 37 | { |
| 38 | 38 | $claims = []; |
| 39 | 39 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * @return array |
| 31 | 31 | */ |
| 32 | 32 | public function handle(ServerRequestInterface $request, ResourceOwnerInterface $resourceOwner, |
| 33 | - RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 33 | + RegisteredClient $client, ?array $scope = null, ?array $extendedResponseTypes = null): array |
|
| 34 | 34 | { |
| 35 | 35 | return []; |
| 36 | 36 | } |
@@ -63,6 +63,6 @@ discard block |
||
| 63 | 63 | |
| 64 | 64 | public function getExtendedResponseTypes(): ?array |
| 65 | 65 | { |
| 66 | - return null; |
|
| 66 | + return null; |
|
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | \ No newline at end of file |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | |
| 108 | 108 | // todo, repository for response mode |
| 109 | 109 | // https://developer.okta.com/docs/api/resources/oidc#parameter-details |
| 110 | - /* |
|
| 110 | + /* |
|
| 111 | 111 | if (isset($data['response_mode']) && $data['response_mode'] == 'post_message') { |
| 112 | 112 | return $this->popupResponse(['access_token' => 'a'], $redirectUri); |
| 113 | 113 | } else { |