You are here

protected property UserAuthenticationController::$csrfToken in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::csrfToken
  2. 9 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::csrfToken

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/modules/user/src/Controller/UserAuthenticationController.php, line 60

Class

UserAuthenticationController
Provides controllers for login, login status and logout via HTTP requests.

Namespace

Drupal\user\Controller

Code

protected $csrfToken;