Метод | Описание | |
---|---|---|
__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 ) | Construct a listener for login events. | |
onCoreRequest ( |
Listen for request 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, 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 onCoreRequest ( |
||
$event |