Property | Type | Description | |
---|---|---|---|
$authenticated | boolean | ||
$request | |||
$token | Symfony\Component\Security\Core\Authentication\Token\TokenInterface | ||
$useTrustedOption | boolean | If trusted computer feature is enabled. |
Method | Description | |
---|---|---|
__construct ( |
Construct a two-factor authentication context. | |
getRequest ( ) | {@inheritDoc} | |
getSession ( ) | {@inheritDoc} | |
getToken ( ) | {@inheritDoc} | |
getUser ( ) | {@inheritDoc} | |
isAuthenticated ( ) | {@inheritDoc} | |
setAuthenticated ( $authenticated ) | {@inheritDoc} | |
setUseTrustedOption ( $useTrustedOption ) | {@inheritDoc} | |
useTrustedOption ( ) | {@inheritDoc} |
public __construct ( |
||
$request | ||
$token | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
protected Request,Symfony\Component\HttpFoundation $request | ||
return |
protected TokenInterface,Symfony\Component\Security\Core\Authentication\Token $token | ||
return | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
protected bool $useTrustedOption | ||
return | boolean |