@@ -29,6 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param AccessToken $accessToken The access token to store |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function save(AccessToken $accessToken): void; |
| 34 | 35 | |
@@ -27,10 +27,19 @@ |
||
| 27 | 27 | { |
| 28 | 28 | public function getClientId(): ClientId; |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @return UserAccountId |
|
| 32 | + */ |
|
| 30 | 33 | public function getOwnerId(): ?UserAccountId; |
| 31 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 32 | 38 | public function setParameter(DataBag $parameter): void; |
| 33 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 34 | 43 | public function markAsDeleted(): void; |
| 35 | 44 | |
| 36 | 45 | public function isDeleted(): bool; |
@@ -40,6 +40,9 @@ |
||
| 40 | 40 | private $accessTokenRepository; |
| 41 | 41 | private $accessTokenLifetime; |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param UserAccountRepository $userAccountRepository |
|
| 45 | + */ |
|
| 43 | 46 | public function __construct(ClientRepository $clientRepository, ?UserAccountRepository $userAccountRepository, TokenEndpointExtensionManager $tokenEndpointExtensionManager, ResponseFactory $responseFactory, AccessTokenRepository $accessTokenRepository, int $accessLifetime) |
| 44 | 47 | { |
| 45 | 48 | $this->clientRepository = $clientRepository; |