Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class AuthCodeRepository implements AuthCodeRepositoryInterface |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity) |
||
26 | // Some logic to persist the auth code to a database |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function revokeAuthCode($codeId) |
||
34 | // Some logic to revoke the auth code in a database |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function isAuthCodeRevoked($codeId) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function getNewAuthCode() |
||
53 |