@@ -24,7 +24,7 @@ |
||
| 24 | 24 | int $expiresAt, ?string $requestedScope = null, ?string $redirectUri = null, |
| 25 | 25 | ?string $codeChallenge = null, ?string $codeChallengeMethod = null) |
| 26 | 26 | { |
| 27 | - parent::__construct($code, $scope, $clientIdentifier, $resourceOwnerIdentifier, $expiresAt, $requestedScope, $redirectUri); |
|
| 27 | + parent::__construct($code, $scope, $clientIdentifier, $resourceOwnerIdentifier, $expiresAt, $requestedScope, $redirectUri); |
|
| 28 | 28 | $this->codeChallenge = $codeChallenge; |
| 29 | 29 | $this->codeChallengeMethod = $codeChallengeMethod; |
| 30 | 30 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | function getClaims() : array |
| 27 | 27 | { |
| 28 | - return $this->claims; |
|
| 28 | + return $this->claims; |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
@@ -102,8 +102,7 @@ |
||
| 102 | 102 | if($this->idTokenHint['sub'] !== $this->resourceOwner->getIdentifier()) { |
| 103 | 103 | if($this->prompt == self::PROMPT_NONE) { |
| 104 | 104 | throw new OAuthException('invalid_request'); |
| 105 | - } |
|
| 106 | - else { |
|
| 105 | + } else { |
|
| 107 | 106 | throw new OAuthException('login_required'); |
| 108 | 107 | } |
| 109 | 108 | } |
@@ -50,8 +50,8 @@ |
||
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | public function issueIdToken(ClientInterface $client, |
| 53 | - ResourceOwnerInterface $resourceOwner, |
|
| 54 | - array $additionalClaims = []): string |
|
| 53 | + ResourceOwnerInterface $resourceOwner, |
|
| 54 | + array $additionalClaims = []): string |
|
| 55 | 55 | { |
| 56 | 56 | $metadata = $client->getMetadata(); |
| 57 | 57 | |