PHP Класс Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\TwoFactorProvider

Наследование: implements Scheb\TwoFactorBundle\Security\TwoFactor\Provider\TwoFactorProviderInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\Generator\CodeGeneratorInterface $codeGenerator, Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\Validation\CodeValidatorInterface $authenticator, Renderer $renderer, $authCodeParameter )
beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean Begin email authentication process.
requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : Response | null Ask for email authentication code.

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

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

public __construct ( Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\Generator\CodeGeneratorInterface $codeGenerator, Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\Validation\CodeValidatorInterface $authenticator, Renderer $renderer, $authCodeParameter )
$codeGenerator Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\Generator\CodeGeneratorInterface
$authenticator Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Email\Validation\CodeValidatorInterface
$renderer Scheb\TwoFactorBundle\Security\TwoFactor\Renderer

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

Begin email authentication process.
public beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean
$context Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface
Результат boolean

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

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