vendor/lexik/jwt-authentication-bundle/Event/JWTNotFoundEvent.php line 20

Open in your IDE?
  1. <?php
  2. namespace Lexik\Bundle\JWTAuthenticationBundle\Event;
  3. use Symfony\Component\HttpFoundation\{Response, Request};
  4. use Symfony\Component\Security\Core\Exception\AuthenticationException;
  5. /**
  6.  * JWTNotFoundEvent event is dispatched when a JWT cannot be found in a request
  7.  * covered by a firewall secured via lexik_jwt.
  8.  *
  9.  * @author Robin Chalas <robin.chalas@gmail.com>
  10.  */
  11. class JWTNotFoundEvent extends AuthenticationFailureEvent implements JWTFailureEventInterface
  12. {
  13.     public function __construct(AuthenticationException $exception = null, Response $response = null, Request $request = null)
  14.     {
  15.         $this->exception = $exception;
  16.         $this->response = $response;
  17.         $this->request = $request;
  18.     }
  19. }