public function Cookie::__construct in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/http-foundation/Cookie.php \Symfony\Component\HttpFoundation\Cookie::__construct()
- 8.0 vendor/symfony/browser-kit/Cookie.php \Symfony\Component\BrowserKit\Cookie::__construct()
- 8.0 vendor/jcalderonzumba/gastonjs/src/Cookie.php \Zumba\GastonJS\Cookie::__construct()
- 8.0 core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::__construct()
Same name and namespace in other branches
- 8 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 $session_configuration: The session configuration.
\Drupal\Core\Database\Connection $connection: The database connection.
File
- core/
modules/ user/ src/ Authentication/ Provider/ Cookie.php, line 45 - Contains \Drupal\user\Authentication\Provider\Cookie.
Class
- Cookie
- Cookie based authentication provider.
Namespace
Drupal\user\Authentication\ProviderCode
public function __construct(SessionConfigurationInterface $session_configuration, Connection $connection) {
$this->sessionConfiguration = $session_configuration;
$this->connection = $connection;
}