Cookie based authentication provider.
Hierarchy
- class \Drupal\user\Authentication\Provider\Cookie implements AuthenticationProviderInterface
File
- core/modules/user/src/Authentication/Provider/Cookie.php, line 16
Namespace
Drupal\user\Authentication\Provider
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Cookie::$connection | protected | property | The database connection. |
Cookie::$sessionConfiguration | protected | property | The session configuration. |
Cookie::applies | public | function | Checks whether suitable authentication credentials are on the request. Overrides AuthenticationProviderInterface::applies |
Cookie::authenticate | public | function | Authenticates the user. Overrides AuthenticationProviderInterface::authenticate |
Cookie::getUserFromSession | protected | function | Returns the UserSession object for the given session. |
Cookie::__construct | public | function | Constructs a new cookie authentication provider. |
Please login to continue.