1 | <?php |
||
9 | class AuthCodeRepository extends EntityRepository implements AuthCodeRepositoryInterface |
||
10 | { |
||
11 | /** |
||
12 | * @return mixed |
||
13 | */ |
||
14 | public function getNewAuthCode() |
||
18 | |||
19 | /** |
||
20 | * @param AuthCodeEntityInterface $authCodeEntity |
||
21 | * @return mixed |
||
22 | */ |
||
23 | public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity) |
||
27 | |||
28 | /** |
||
29 | * @param string $codeId |
||
30 | * @return mixed |
||
31 | */ |
||
32 | public function revokeAuthCode($codeId) |
||
36 | |||
37 | /** |
||
38 | * @param string $codeId |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public function isAuthCodeRevoked($codeId) |
||
45 | } |