PHP 인터페이스 Scheb\TwoFactorBundle\Security\TwoFactor\Provider\TwoFactorProviderInterface

파일 보기 프로젝트 열기: scheb/two-factor-bundle

공개 메소드들

메소드 설명
beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean Return true when two-factor authentication process should be started.
requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null Ask for two-factor authentication code.

메소드 상세

beginAuthentication() 공개 메소드

Return true when two-factor authentication process should be started.
public beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
리턴 boolean

requestAuthenticationCode() 공개 메소드

Providers can create a response or ignore the request by returning null.
public requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
리턴 Symfony\Component\HttpFoundation\Response | null