@@ -17,6 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * @param AuthorizationCode $authorizationCode |
| 20 | + * @return void |
|
| 20 | 21 | */ |
| 21 | 22 | public function save(AuthorizationCode $authorizationCode); |
| 22 | 23 | |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | 21 | * @param Event $event |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function save(Event $event); |
| 24 | 25 | |
@@ -20,14 +20,14 @@ |
||
| 20 | 20 | use Jose\Component\Signature\JWS; |
| 21 | 21 | use Jose\Component\Signature\JWSVerifier; |
| 22 | 22 | use Jose\Component\Signature\Serializer\CompactSerializer as JwsCompactSerializer; |
| 23 | -use OAuth2Framework\Component\TokenEndpoint\GrantTypeData; |
|
| 24 | 23 | use OAuth2Framework\Component\Core\Client\ClientId; |
| 25 | 24 | use OAuth2Framework\Component\Core\Client\ClientRepository; |
| 25 | +use OAuth2Framework\Component\Core\Exception\OAuth2Exception; |
|
| 26 | 26 | use OAuth2Framework\Component\Core\ResourceOwner\ResourceOwnerId; |
| 27 | 27 | use OAuth2Framework\Component\Core\UserAccount\UserAccountId; |
| 28 | 28 | use OAuth2Framework\Component\Core\UserAccount\UserAccountRepository; |
| 29 | -use OAuth2Framework\Component\Core\Exception\OAuth2Exception; |
|
| 30 | 29 | use OAuth2Framework\Component\TokenEndpoint\GrantType; |
| 30 | +use OAuth2Framework\Component\TokenEndpoint\GrantTypeData; |
|
| 31 | 31 | use Psr\Http\Message\ServerRequestInterface; |
| 32 | 32 | |
| 33 | 33 | final class JwtBearerGrantType implements GrantType |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use OAuth2Framework\Bundle\Security\Authentication\Token\OAuth2Token; |
| 17 | 17 | use OAuth2Framework\Component\Core\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 |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | |
| 310 | 310 | /** |
| 311 | 311 | * @param string $responseHeader |
| 312 | - * @param mixed $value |
|
| 312 | + * @param string $value |
|
| 313 | 313 | * |
| 314 | 314 | * @return Authorization |
| 315 | 315 | */ |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | /** |
| 419 | 419 | * @param string $key |
| 420 | 420 | * |
| 421 | - * @return mixed |
|
| 421 | + * @return boolean |
|
| 422 | 422 | */ |
| 423 | 423 | public function getData(string $key) |
| 424 | 424 | { |
@@ -431,7 +431,7 @@ discard block |
||
| 431 | 431 | |
| 432 | 432 | /** |
| 433 | 433 | * @param string $key |
| 434 | - * @param mixed $data |
|
| 434 | + * @param boolean $data |
|
| 435 | 435 | * |
| 436 | 436 | * @return Authorization |
| 437 | 437 | */ |
@@ -17,6 +17,7 @@ |
||
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | 19 | * @param InitialAccessToken $initialAccessToken |
| 20 | + * @return void |
|
| 20 | 21 | */ |
| 21 | 22 | public function save(InitialAccessToken $initialAccessToken); |
| 22 | 23 | |
@@ -37,6 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * @param AccessToken $token |
| 40 | + * @return void |
|
| 40 | 41 | */ |
| 41 | 42 | public function save(AccessToken $token); |
| 42 | 43 | |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | * Save the client. |
| 20 | 20 | * |
| 21 | 21 | * @param Client $client |
| 22 | + * @return void |
|
| 22 | 23 | */ |
| 23 | 24 | public function save(Client $client); |
| 24 | 25 | |
@@ -39,6 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @param RefreshToken $refreshToken |
| 42 | + * @return void |
|
| 42 | 43 | */ |
| 43 | 44 | public function save(RefreshToken $refreshToken); |
| 44 | 45 | |