@@ -22,11 +22,13 @@ discard block |
||
22 | 22 | * @param string $path |
23 | 23 | * @param ContainerBuilder $container |
24 | 24 | * @param array $config |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function load(string $path, ContainerBuilder $container, array $config); |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param NodeDefinition $node |
31 | + * @return void |
|
30 | 32 | */ |
31 | 33 | public function addConfiguration(NodeDefinition $node); |
32 | 34 | |
@@ -34,6 +36,7 @@ discard block |
||
34 | 36 | * @param array $bundleConfig |
35 | 37 | * @param string $path |
36 | 38 | * @param ContainerBuilder $container |
39 | + * @return void |
|
37 | 40 | */ |
38 | 41 | public function prepend(array $bundleConfig, string $path, ContainerBuilder $container); |
39 | 42 | } |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use OAuth2Framework\Bundle\Server\SecurityPlugin\Security\Authentication\Token\OAuth2Token; |
17 | 17 | use OAuth2Framework\Component\Server\Model\AccessToken\AccessToken; |
18 | 18 | use Symfony\Component\HttpFoundation\Request; |
19 | -use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface; |
|
20 | 19 | use Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadata; |
20 | +use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface; |
|
21 | 21 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
22 | 22 | |
23 | 23 | final class AccessTokenResolver implements ArgumentValueResolverInterface |
@@ -64,6 +64,7 @@ |
||
64 | 64 | |
65 | 65 | /** |
66 | 66 | * {@inheritdoc} |
67 | + * @param string $key |
|
67 | 68 | */ |
68 | 69 | public function get($key) |
69 | 70 | { |
@@ -44,6 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * @param string $key |
46 | 46 | * @param mixed $value |
47 | + * @return void |
|
47 | 48 | */ |
48 | 49 | public function set($key, $value); |
49 | 50 |
@@ -16,11 +16,13 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * If this method is called, requests using the https scheme without a valid certificates are allowed. |
18 | 18 | * We do not recommend you to call this method. |
19 | + * @return void |
|
19 | 20 | */ |
20 | 21 | public function allowUnsecuredRequests(); |
21 | 22 | |
22 | 23 | /** |
23 | 24 | * If this method is called, requests using the https scheme without a valid certificates are not allowed (default behaviour). |
25 | + * @return void |
|
24 | 26 | */ |
25 | 27 | public function disallowUnsecuredRequests(); |
26 | 28 | |
@@ -33,6 +35,7 @@ discard block |
||
33 | 35 | |
34 | 36 | /** |
35 | 37 | * @param string $proxy |
38 | + * @return void |
|
36 | 39 | */ |
37 | 40 | public function setProxy($proxy); |
38 | 41 | |
@@ -45,6 +48,7 @@ discard block |
||
45 | 48 | |
46 | 49 | /** |
47 | 50 | * Unset the proxy settings. |
51 | + * @return void |
|
48 | 52 | */ |
49 | 53 | public function unsetProxy(); |
50 | 54 |
@@ -313,7 +313,7 @@ |
||
313 | 313 | |
314 | 314 | /** |
315 | 315 | * @param string $responseHeader |
316 | - * @param mixed $value |
|
316 | + * @param string $value |
|
317 | 317 | * |
318 | 318 | * @return Authorization |
319 | 319 | */ |
@@ -39,6 +39,7 @@ |
||
39 | 39 | * @param ServerRequestInterface $request The request |
40 | 40 | * |
41 | 41 | * @throws OAuth2Exception |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function checkTokenRequest(ServerRequestInterface $request); |
44 | 45 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @param ClientId $clientId |
27 | 27 | * @param DataBag $parameters |
28 | 28 | * @param DataBag $metadatas |
29 | - * @param array $scopes |
|
29 | + * @param string[] $scopes |
|
30 | 30 | * @param null|RefreshTokenId $refreshTokenId |
31 | 31 | * @param null|ResourceServerId $resourceServerId |
32 | 32 | * @param \DateTimeImmutable|null $expiresAt |
@@ -37,6 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @param AccessToken $token |
40 | + * @return void |
|
40 | 41 | */ |
41 | 42 | public function save(AccessToken $token); |
42 | 43 |
@@ -38,6 +38,7 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param AuthCode $authCode |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function save(AuthCode $authCode); |
43 | 44 |