Метод | Описание | |
---|---|---|
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 ) : |
Ask for two-factor authentication code. |
public beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : boolean | ||
$context | Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface | |
Результат | boolean |
public requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : |
||
$context | Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface | |
Результат |