UserAuthenticationController::$csrfToken

Same name in other branches
  1. 9 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::csrfToken
  2. 8.9.x core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::csrfToken
  3. 11.x 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 61

Class

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

Namespace

Drupal\user\Controller

Code

protected $csrfToken;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.