public function Cookie::authenticate in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::authenticate()
- 9 core/modules/user/src/Authentication/Provider/Cookie.php \Drupal\user\Authentication\Provider\Cookie::authenticate()
File
- core/
modules/ user/ src/ Authentication/ Provider/ Cookie.php, line 80
Class
- Cookie
- Cookie based authentication provider.
Namespace
Drupal\user\Authentication\ProviderCode
public function authenticate(Request $request) {
return $this
->getUserFromSession($request
->getSession());
}