You are here

protected property TestController::$tokenGenerator in Drupal 9

Same name and namespace in other branches
  1. 8 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\Controller

Code

protected $tokenGenerator;