function Cookie::__construct
Same name and namespace in other branches
- 11.x core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::__construct()
- 10 core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::__construct()
- 9 core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::__construct()
- 8.9.x core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::__construct()
Constructs a new cookie authentication provider.
Parameters
\Drupal\Core\Session\SessionConfigurationInterface $sessionConfiguration: The session configuration.
\Drupal\Core\Database\Connection $connection: The database connection.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
-
core/
modules/ user/ src/ Authentication/ Provider/ Cookie.php, line 38
Class
- Cookie
- Cookie based authentication provider.
Namespace
Drupal\user\Authentication\ProviderCode
public function __construct(protected SessionConfigurationInterface $sessionConfiguration, protected Connection $connection, protected MessengerInterface $messenger) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.