[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
|
class InteractiveLoginEvent extends Event
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var Request
|
||||||
|
*/
|
||||||
private $request;
|
private $request;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var TokenInterface
|
||||||
|
*/
|
||||||
private $authenticationToken;
|
private $authenticationToken;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor.
|
||||||
|
*
|
||||||
|
* @param Request $request
|
||||||
|
* @param TokenInterface $authenticationToken
|
||||||
|
*/
|
||||||
public function __construct(Request $request, TokenInterface $authenticationToken)
|
public function __construct(Request $request, TokenInterface $authenticationToken)
|
||||||
{
|
{
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
$this->authenticationToken = $authenticationToken;
|
$this->authenticationToken = $authenticationToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the request.
|
||||||
|
*
|
||||||
|
* @return Request
|
||||||
|
*/
|
||||||
public function getRequest()
|
public function getRequest()
|
||||||
{
|
{
|
||||||
return $this->request;
|
return $this->request;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the authentication token.
|
||||||
|
*
|
||||||
|
* @return TokenInterface
|
||||||
|
*/
|
||||||
public function getAuthenticationToken()
|
public function getAuthenticationToken()
|
||||||
{
|
{
|
||||||
return $this->authenticationToken;
|
return $this->authenticationToken;
|
||||||
|
Reference in New Issue
Block a user