TestController::$tokenGenerator
Same name in other branches
- 8.9.x core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::tokenGenerator
- 10 core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::tokenGenerator
- 11.x core/modules/system/tests/modules/csrf_race_test/src/Controller/TestController.php \Drupal\csrf_race_test\Controller\TestController::tokenGenerator
Token generator service.
Type: \Drupal\Core\Access\CsrfTokenGenerator
File
-
core/
modules/ system/ tests/ modules/ csrf_race_test/ src/ Controller/ TestController.php, line 20
Class
- TestController
- Controller to test concurrent CSRF token generation.
Namespace
Drupal\csrf_race_test\ControllerCode
protected $tokenGenerator;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.