@@ -51,8 +51,8 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | public function issueIdToken(RegisteredClient $client, |
54 | - string $resourceOwnerIdentifier, |
|
55 | - array $additionalClaims = []): string |
|
54 | + string $resourceOwnerIdentifier, |
|
55 | + array $additionalClaims = []): string |
|
56 | 56 | { |
57 | 57 | $metadata = $client->getMetadata(); |
58 | 58 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | \DateTimeInterface $expiresAt, ?array $requestedScopes = null, ?string $redirectUri = null, |
25 | 25 | ?string $codeChallenge = null, ?string $codeChallengeMethod = null) |
26 | 26 | { |
27 | - parent::__construct($code, $scopes, $clientIdentifier, $resourceOwnerIdentifier, $expiresAt, $requestedScopes, $redirectUri); |
|
27 | + parent::__construct($code, $scopes, $clientIdentifier, $resourceOwnerIdentifier, $expiresAt, $requestedScopes, $redirectUri); |
|
28 | 28 | $this->codeChallenge = $codeChallenge; |
29 | 29 | $this->codeChallengeMethod = $codeChallengeMethod; |
30 | 30 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | public function getClaims() : array |
45 | 45 | { |
46 | - return $this->claims; |
|
46 | + return $this->claims; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
@@ -22,6 +22,6 @@ |
||
22 | 22 | * TODO utiliser un builder |
23 | 23 | */ |
24 | 24 | public function setCodeChallenge(AuthorizationCodeInterface $authorizationCode, string $codeChallenge, |
25 | - string $codeChallengeMethod = 'plain'); |
|
25 | + string $codeChallengeMethod = 'plain'); |
|
26 | 26 | |
27 | 27 | } |
28 | 28 | \ No newline at end of file |
@@ -67,7 +67,7 @@ |
||
67 | 67 | |
68 | 68 | public function getData(): array |
69 | 69 | { |
70 | - return $this->authorizationRequest->getData(); |
|
70 | + return $this->authorizationRequest->getData(); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -84,7 +84,7 @@ |
||
84 | 84 | } |
85 | 85 | |
86 | 86 | public function setClientAuthenticationMethod(string $identifier, |
87 | - ClientAuthenticationMethodInterface $clientAuthenticationMethod): self |
|
87 | + ClientAuthenticationMethodInterface $clientAuthenticationMethod): self |
|
88 | 88 | { |
89 | 89 | $this->clientAuthenticationMethods[$identifier] = $clientAuthenticationMethod; |
90 | 90 | return $this; |