Метод | Описание | |
---|---|---|
__construct ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextFactoryInterface $authenticationContextFactory, Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface $authHandler, array $supportedTokens, array $ipWhitelist ) | Construct a listener for login events. | |
onSecurityInteractiveLogin ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event ) | Listen for successful login events. |
Метод | Описание | |
---|---|---|
isTokenSupported ( mixed $token ) : boolean | Check if the token class is supported. |
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 onSecurityInteractiveLogin ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event ) | ||
$event | Symfony\Component\Security\Http\Event\InteractiveLoginEvent |