@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Gesdinet\JWTRefreshTokenBundle\EventListener; |
| 13 | 13 | |
| 14 | 14 | use Gesdinet\JWTRefreshTokenBundle\Model\RefreshTokenManagerInterface; |
| 15 | -use Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken; |
|
| 16 | 15 | use Lexik\Bundle\JWTAuthenticationBundle\Event\AuthenticationSuccessEvent; |
| 17 | 16 | use Symfony\Component\Security\Core\User\UserInterface; |
| 18 | 17 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
@@ -19,9 +19,17 @@ |
||
| 19 | 19 | $this->token = $token; |
| 20 | 20 | $this->response = $response; |
| 21 | 21 | } |
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @return null|string |
|
| 25 | + */ |
|
| 22 | 26 | public function getToken(){ |
| 23 | 27 | return $this->token; |
| 24 | 28 | } |
| 29 | + |
|
| 30 | + /** |
|
| 31 | + * @return null|string |
|
| 32 | + */ |
|
| 25 | 33 | public function getResponse(){ |
| 26 | 34 | return $this->response; |
| 27 | 35 | } |