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

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

공개 메소드들

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

메소드 상세

__construct() 공개 메소드

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

onSecurityInteractiveLogin() 공개 메소드

Listen for successful login events.
public onSecurityInteractiveLogin ( Symfony\Component\Security\Http\Event\InteractiveLoginEvent $event )
$event Symfony\Component\Security\Http\Event\InteractiveLoginEvent