vendor/lexik/jwt-authentication-bundle/Exception/ExpiredTokenException.php line 14

Open in your IDE?
  1. <?php
  2. namespace Lexik\Bundle\JWTAuthenticationBundle\Exception;
  3. use Lexik\Bundle\JWTAuthenticationBundle\Security\Guard\JWTTokenAuthenticator;
  4. use Symfony\Component\Security\Core\Exception\AuthenticationException;
  5. /**
  6.  * Exception that should be thrown from a {@link JWTTokenAuthenticator} implementation during
  7.  * an authentication process.
  8.  *
  9.  * @author Robin Chalas <robin.chalas@gmail.com>
  10.  */
  11. class ExpiredTokenException extends AuthenticationException
  12. {
  13.     /**
  14.      * {@inheritdoc}
  15.      */
  16.     public function getMessageKey()
  17.     {
  18.         return 'Expired JWT Token';
  19.     }
  20. }