PHP Интерфейс Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

beginAuthentication() публичный Метод

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

requestAuthenticationCode() публичный Метод

Request and validate authentication code.
public requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
Результат Symfony\Component\HttpFoundation\Response | null