PHP Interface Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface

Afficher le fichier Open project: scheb/two-factor-bundle Interface Usage Examples

Méthodes publiques

Méthode Description
beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) Begin the two-factor authentication process.
requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null Request and validate authentication code.

Method Details

beginAuthentication() public méthode

Begin the two-factor authentication process.
public beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context )
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface

requestAuthenticationCode() public méthode

Request and validate authentication code.
public requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
Résultat Symfony\Component\HttpFoundation\Response | null