[Security] add docblocks to InteractiveLoginEvent
Close #5053 (was easier to just create a new PR).
This commit is contained in:
parent
c98f048022
commit
9030dc5dfc
@ -17,21 +17,43 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||
|
||||
class InteractiveLoginEvent extends Event
|
||||
{
|
||||
/**
|
||||
* @var Request
|
||||
*/
|
||||
private $request;
|
||||
|
||||
/**
|
||||
* @var TokenInterface
|
||||
*/
|
||||
private $authenticationToken;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param Request $request
|
||||
* @param TokenInterface $authenticationToken
|
||||
*/
|
||||
public function __construct(Request $request, TokenInterface $authenticationToken)
|
||||
{
|
||||
$this->request = $request;
|
||||
$this->authenticationToken = $authenticationToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the request.
|
||||
*
|
||||
* @return Request
|
||||
*/
|
||||
public function getRequest()
|
||||
{
|
||||
return $this->request;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the authentication token.
|
||||
*
|
||||
* @return TokenInterface
|
||||
*/
|
||||
public function getAuthenticationToken()
|
||||
{
|
||||
return $this->authenticationToken;
|
||||
|
Reference in New Issue
Block a user