Property | Type | Description | |
---|---|---|---|
$logger | |||
$options |
Method | Description | |
---|---|---|
__construct ( array $userProviders, string $key, string $providerKey, array $options = [], Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null ) | Constructor | |
autoLogin ( |
Implementation of RememberMeServicesInterface. Detects whether a remember-me cookie was set, decodes it, and hands it to subclasses for further processing. | |
getKey ( ) | ||
getRememberMeParameter ( ) : string | Returns the parameter that is used for checking whether remember-me services have been requested. | |
loginFail ( |
Implementation for RememberMeServicesInterface. Deletes the cookie when an attempted authentication fails. | |
loginSuccess ( |
Implementation for RememberMeServicesInterface. This is called when an authentication is successful. | |
logout ( |
Implementation for LogoutHandlerInterface. Deletes the cookie. |
Method | Description | |
---|---|---|
cancelCookie ( |
Deletes the remember-me cookie | |
decodeCookie ( string $rawCookie ) : array | Decodes the raw cookie value | |
encodeCookie ( array $cookieParts ) : string | Encodes the cookie parts | |
getUserProvider ( $class ) | ||
isRememberMeRequested ( |
Checks whether remember-me capabilities where requested | |
onLoginFail ( |
||
onLoginSuccess ( |
This is called after a user has been logged in successfully, and has requested remember-me capabilities. The implementation usually sets a cookie and possibly stores a persistent record of it. | |
processAutoLoginCookie ( array $cookieParts, |
Subclasses should validate the cookie and do any additional processing that is required. This is called from autoLogin(). |
final public autoLogin ( |
||
$request | ||
return | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
protected cancelCookie ( |
||
$request |
protected decodeCookie ( string $rawCookie ) : array | ||
$rawCookie | string | |
return | array |
protected encodeCookie ( array $cookieParts ) : string | ||
$cookieParts | array | |
return | string |
public getRememberMeParameter ( ) : string | ||
return | string |
protected isRememberMeRequested ( |
||
$request | ||
return | boolean |
final public loginFail ( |
||
$request |
final public loginSuccess ( |
||
$request | ||
$response | ||
$token | Symfony\Component\Security\Core\Authentication\Token\TokenInterface | The token that resulted in a successful authentication |
public logout ( |
||
$request | ||
$response | ||
$token | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
protected onLoginFail ( |
||
$request |
abstract protected onLoginSuccess ( |
||
$request | ||
$response | ||
$token | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
abstract protected processAutoLoginCookie ( array $cookieParts, |
||
$cookieParts | array | |
$request | ||
return | Symfony\Component\Security\Core\Authentication\Token\TokenInterface |