PHP Класс Scheb\TwoFactorBundle\Security\TwoFactor\EventListener\RequestListener

Показать файл Открыть проект Примеры использования класса

Открытые методы

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

Приватные методы

Метод Описание
isTokenSupported ( mixed $token ) : boolean Check if the token class is supported.

Описание методов

__construct() публичный Метод

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

onCoreRequest() публичный Метод

Listen for request events.
public onCoreRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent