UserAuthenticationController::$csrfToken
Same name in other branches
- 9 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::csrfToken
- 10 core/modules/user/src/Controller/UserAuthenticationController.php \Drupal\user\Controller\UserAuthenticationController::csrfToken
- 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 60
Class
- UserAuthenticationController
- Provides controllers for login, login status and logout via HTTP requests.
Namespace
Drupal\user\ControllerCode
protected $csrfToken;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.