1 | <?php |
||
9 | class RefreshTokenRepository extends EntityRepository implements RefreshTokenRepositoryInterface |
||
10 | { |
||
11 | /** |
||
12 | * @return mixed |
||
13 | */ |
||
14 | public function getNewRefreshToken() |
||
18 | |||
19 | /** |
||
20 | * @param RefreshTokenEntityInterface $refreshTokenEntity |
||
21 | * @return mixed |
||
22 | */ |
||
23 | public function persistNewRefreshToken(RefreshTokenEntityInterface $refreshTokenEntity) |
||
27 | |||
28 | /** |
||
29 | * @param string $tokenId |
||
30 | * @return mixed |
||
31 | */ |
||
32 | public function revokeRefreshToken($tokenId) |
||
36 | |||
37 | /** |
||
38 | * @param string $tokenId |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public function isRefreshTokenRevoked($tokenId) |
||
45 | } |