Scheb\TwoFactorBundle\Security\TwoFactor\EventListener\InteractiveLoginListener::__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, array $supportedTokens, array $ipWhitelist )
$authenticationContextFactory Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextFactoryInterface
$authHandler Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface
$supportedTokens array
$ipWhitelist array
    public function __construct(AuthenticationContextFactoryInterface $authenticationContextFactory, AuthenticationHandlerInterface $authHandler, array $supportedTokens, array $ipWhitelist)
    {
        $this->authenticationContextFactory = $authenticationContextFactory;
        $this->authHandler = $authHandler;
        $this->supportedTokens = $supportedTokens;
        $this->ipWhitelist = $ipWhitelist;
    }