PHP 클래스 Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\TwoFactorProvider

상속: implements Scheb\TwoFactorBundle\Security\TwoFactor\Provider\TwoFactorProviderInterface
파일 보기 프로젝트 열기: scheb/two-factor-bundle 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\Validation\CodeValidatorInterface $authenticator, Renderer $renderer, $authCodeParameter )
beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean Begin Google authentication process.
requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null Ask for Google authentication code.

메소드 상세

__construct() 공개 메소드

public __construct ( Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\Validation\CodeValidatorInterface $authenticator, Renderer $renderer, $authCodeParameter )
$authenticator Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\Validation\CodeValidatorInterface
$renderer Scheb\TwoFactorBundle\Security\TwoFactor\Renderer

beginAuthentication() 공개 메소드

Begin Google authentication process.
public beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
리턴 boolean

requestAuthenticationCode() 공개 메소드

Ask for Google authentication code.
public requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
리턴 Symfony\Component\HttpFoundation\Response | null