@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | interface ConsentHandler |
21 | 21 | { |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void; |
23 | 26 | |
24 | 27 | public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool; |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface Extension |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function process(ServerRequestInterface $request, AuthorizationRequest $authorization): void; |
22 | 25 | } |
@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | interface LoginHandler |
21 | 21 | { |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void; |
23 | 26 | |
24 | 27 | public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool; |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface ParameterChecker |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function check(AuthorizationRequest $authorization): void; |
21 | 24 | } |
@@ -41,7 +41,13 @@ |
||
41 | 41 | */ |
42 | 42 | public function getResponseMode(): string; |
43 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
44 | 47 | public function preProcess(AuthorizationRequest $authorization): void; |
45 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
46 | 52 | public function process(AuthorizationRequest $authorization): void; |
47 | 53 | } |
@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | interface SelectAccountHandler |
21 | 21 | { |
22 | + /** |
|
23 | + * @return void |
|
24 | + */ |
|
22 | 25 | public function prepare(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): void; |
23 | 26 | |
24 | 27 | public function hasBeenProcessed(ServerRequestInterface $serverRequest, string $authorizationId, AuthorizationRequest $authorizationRequest): bool; |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface UserAccountRepository |
17 | 17 | { |
18 | + /** |
|
19 | + * @return \OAuth2Framework\ServerBundle\Tests\TestBundle\Entity\UserAccount|null |
|
20 | + */ |
|
18 | 21 | public function find(UserAccountId $publicId): ?UserAccount; |
19 | 22 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface ResourceOwnerPasswordCredentialManager |
19 | 19 | { |
20 | + /** |
|
21 | + * @return null|ResourceOwnerId |
|
22 | + */ |
|
20 | 23 | public function findResourceOwnerIdWithUsernameAndPassword(string $username, string $password): ?ResourceOwnerId; |
21 | 24 | } |
@@ -20,10 +20,19 @@ |
||
20 | 20 | { |
21 | 21 | public function name(): string; |
22 | 22 | |
23 | + /** |
|
24 | + * @return void |
|
25 | + */ |
|
23 | 26 | public function load(array $configs, ContainerBuilder $container); |
24 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
25 | 31 | public function build(ContainerBuilder $container); |
26 | 32 | |
33 | + /** |
|
34 | + * @return void |
|
35 | + */ |
|
27 | 36 | public function getNodeDefinition(ArrayNodeDefinition $node, ArrayNodeDefinition $rootNode); |
28 | 37 | |
29 | 38 | public function prepend(ContainerBuilder $container, array $config): array; |