vendor/lexik/jwt-authentication-bundle/Exception/InvalidTokenException.php line 12

Open in your IDE?
  1. <?php
  2. namespace Lexik\Bundle\JWTAuthenticationBundle\Exception;
  3. use Symfony\Component\Security\Core\Exception\AuthenticationException;
  4. /**
  5. * Exception to be thrown in case of invalid token during an authentication process.
  6. *
  7. * @author Robin Chalas <robin.chalas@gmail.com>
  8. */
  9. class InvalidTokenException extends AuthenticationException
  10. {
  11. /**
  12. * {@inheritdoc}
  13. *
  14. * @return string
  15. */
  16. public function getMessageKey(): string
  17. {
  18. return 'Invalid JWT Token';
  19. }
  20. }