PHP 클래스 Scheb\TwoFactorBundle\Security\TwoFactor\EventListener\RequestListener

파일 보기 프로젝트 열기: scheb/two-factor-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__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