The start of something beautiful
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Lexik\Bundle\JWTAuthenticationBundle\Event;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||
|
||||
/**
|
||||
* JWTNotFoundEvent event is dispatched when a JWT cannot be found in a request
|
||||
* covered by a firewall secured via lexik_jwt.
|
||||
*
|
||||
* @author Robin Chalas <robin.chalas@gmail.com>
|
||||
*/
|
||||
class JWTNotFoundEvent extends AuthenticationFailureEvent implements JWTFailureEventInterface
|
||||
{
|
||||
public function __construct(AuthenticationException $exception = null, Response $response = null, Request $request = null)
|
||||
{
|
||||
parent::__construct($exception, $response, $request);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user