コード例 #1
0
 /**
  * @param JWTDecodedEvent $event
  * @throws TokenExpiredException when token has expired
  * @throws TokenNotValidException when token matched no user
  */
 public function onJWTDecodedResponse(JWTDecodedEvent $event)
 {
     if (!$event->isValid()) {
         throw new TokenExpiredException();
     }
 }