@@ -20,6 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * Save the client. |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function save(Client $client); |
25 | 26 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * Creates an empty client. |
41 | + * @param UserAccountId|null $ownerId |
|
40 | 42 | */ |
41 | 43 | public function create(ClientId $clientId, DataBag $parameters, ?UserAccountId $ownerId): Client; |
42 | 44 | } |
@@ -148,6 +148,10 @@ |
||
148 | 148 | */ |
149 | 149 | private $authorizationCodeRepository; |
150 | 150 | |
151 | + /** |
|
152 | + * @param JKUFactory|null $jkuFactory |
|
153 | + * @param AuthorizationCodeRepository|null $authorizationCodeRepository |
|
154 | + */ |
|
151 | 155 | public function __construct(string $issuer, UserInfo $userinfo, int $lifetime, Client $client, UserAccount $userAccount, string $redirectUri, ?JKUFactory $jkuFactory, ?AuthorizationCodeRepository $authorizationCodeRepository) |
152 | 156 | { |
153 | 157 | $this->issuer = $issuer; |
@@ -63,6 +63,9 @@ |
||
63 | 63 | */ |
64 | 64 | private $accessTokenLifetime; |
65 | 65 | |
66 | + /** |
|
67 | + * @param UserAccountRepository $userAccountRepository |
|
68 | + */ |
|
66 | 69 | public function __construct(ClientRepository $clientRepository, ?UserAccountRepository $userAccountRepository, TokenEndpointExtensionManager $tokenEndpointExtensionManager, ResponseFactory $responseFactory, AccessTokenRepository $accessTokenRepository, int $accessLifetime) |
67 | 70 | { |
68 | 71 | $this->clientRepository = $clientRepository; |