@@ -21,8 +21,12 @@ |
||
| 21 | 21 | * @param AuthorizationCodeId $authorizationCodeId the authorization code string for which to fetch data |
| 22 | 22 | * |
| 23 | 23 | * @see http://tools.ietf.org/html/rfc6749#section-4.1 |
| 24 | + * @return AuthorizationCode|null |
|
| 24 | 25 | */ |
| 25 | 26 | public function find(AuthorizationCodeId $authorizationCodeId): ?AuthorizationCode; |
| 26 | 27 | |
| 28 | + /** |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 27 | 31 | public function save(AuthorizationCode $authorizationCode): void; |
| 28 | 32 | } |
@@ -19,6 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | 21 | * @param bool $isFullyAuthenticated |
| 22 | + * @return null|UserAccount |
|
| 22 | 23 | */ |
| 23 | 24 | public function find(?bool &$isFullyAuthenticated = null): ?UserAccount; |
| 24 | 25 | } |
@@ -15,5 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface AccessTokenHandler |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return AccessToken|null |
|
| 20 | + */ |
|
| 18 | 21 | public function find(AccessTokenId $token): ?AccessToken; |
| 19 | 22 | } |
@@ -15,5 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface TrustedIssuerRepository |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return void |
|
| 20 | + */ |
|
| 18 | 21 | public function find(string $trustedIssuer): ?TrustedIssuer; |
| 19 | 22 | } |