DeprecatedCsrfTokenController::$tokenGenerator

Same name in other branches
  1. 9 core/modules/system/tests/modules/csrf_test/src/Controller/DeprecatedCsrfTokenController.php \Drupal\csrf_test\Controller\DeprecatedCsrfTokenController::tokenGenerator

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/modules/system/tests/modules/csrf_test/src/Controller/DeprecatedCsrfTokenController.php, line 26

Class

DeprecatedCsrfTokenController
Returns responses for Deprecated CSRF token routes.

Namespace

Drupal\csrf_test\Controller

Code

protected $tokenGenerator;

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