@@ -15,6 +15,9 @@ |
||
15 | 15 | |
16 | 16 | interface InitialAccessTokenRepository |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function save(InitialAccessToken $initialAccessToken); |
19 | 22 | |
20 | 23 | /** |
@@ -17,6 +17,7 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * Save the client. |
20 | + * @return void |
|
20 | 21 | */ |
21 | 22 | public function save(Client $client); |
22 | 23 |
@@ -51,6 +51,9 @@ |
||
51 | 51 | return $handler->handle($request); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param ResourceServer|null $resourceServer |
|
56 | + */ |
|
54 | 57 | private function checkResourceServer(?ResourceServer $resourceServer): void |
55 | 58 | { |
56 | 59 | if (null === $resourceServer) { |
@@ -17,6 +17,9 @@ |
||
17 | 17 | { |
18 | 18 | public function name(): string; |
19 | 19 | |
20 | + /** |
|
21 | + * @return string|null |
|
22 | + */ |
|
20 | 23 | public function parent(): ?string; |
21 | 24 | |
22 | 25 | public function isParentMandatory(): bool; |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface AccessTokenHandler |
17 | 17 | { |
18 | + /** |
|
19 | + * @return AccessToken|null |
|
20 | + */ |
|
18 | 21 | public function find(AccessTokenId $token): ?AccessToken; |
19 | 22 | } |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface TrustedIssuerRepository |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function find(string $trustedIssuer): ?TrustedIssuer; |
19 | 22 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface ResourceRepository |
19 | 19 | { |
20 | + /** |
|
21 | + * @return null|ResourceDescriptor |
|
22 | + */ |
|
20 | 23 | public function find(string $resource, Identifier $identifier): ?ResourceDescriptor; |
21 | 24 | } |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface Checker |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function check(OAuth2Token $token, OAuth2 $configuration): void; |
22 | 25 | } |
@@ -209,6 +209,9 @@ discard block |
||
209 | 209 | return \array_key_exists($param, $this->getResponseParameters()); |
210 | 210 | } |
211 | 211 | |
212 | + /** |
|
213 | + * @param string $value |
|
214 | + */ |
|
212 | 215 | public function setResponseHeader(string $responseHeader, $value): void |
213 | 216 | { |
214 | 217 | $this->responseHeaders[$responseHeader] = $value; |
@@ -274,6 +277,9 @@ discard block |
||
274 | 277 | $this->resourceServer = $resourceServer; |
275 | 278 | } |
276 | 279 | |
280 | + /** |
|
281 | + * @param string $value |
|
282 | + */ |
|
277 | 283 | public function setConsentScreenOption(string $option, $value): void |
278 | 284 | { |
279 | 285 | $this->consentScreenOptions[$option] = $value; |