Method | Description | |
---|---|---|
__construct ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface $authHandler, |
Construct the trusted computer layer. | |
beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) | Check if user is on a trusted computer, otherwise call TwoFactorProviderRegistry. | |
requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : |
Call TwoFactorProviderRegistry, set trusted computer cookie if requested. |
public __construct ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface $authHandler, |
||
$authHandler | Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface | |
$cookieManager | ||
$useTrustedOption | boolean | |
$trustedName | string |
public beginAuthentication ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) | ||
$context | Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface |
public requestAuthenticationCode ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface $context ) : |
||
$context | Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationContextInterface | |
return |