Scheb\TwoFactorBundle\Security\TwoFactor\EventListener\RequestListener::__construct PHP Method

__construct() public method

Construct a listener for login events.
public __construct ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextFactoryInterface $authenticationContextFactory, Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface $authHandler, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, array $supportedTokens, string $excludePattern )
$authenticationContextFactory Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextFactoryInterface
$authHandler Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$supportedTokens array
$excludePattern string
    public function __construct(AuthenticationContextFactoryInterface $authenticationContextFactory, AuthenticationHandlerInterface $authHandler, TokenStorageInterface $tokenStorage, array $supportedTokens, $excludePattern)
    {
        $this->authenticationContextFactory = $authenticationContextFactory;
        $this->authHandler = $authHandler;
        $this->tokenStorage = $tokenStorage;
        $this->supportedTokens = $supportedTokens;
        $this->excludePattern = $excludePattern;
    }