You are here

protected property CsrfAccessCheck::$csrfToken in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Access/CsrfAccessCheck.php \Drupal\Core\Access\CsrfAccessCheck::csrfToken
  2. 9 core/lib/Drupal/Core/Access/CsrfAccessCheck.php \Drupal\Core\Access\CsrfAccessCheck::csrfToken

The CSRF token generator.

Type: \Drupal\Core\Access\CsrfTokenGenerator

File

core/lib/Drupal/Core/Access/CsrfAccessCheck.php, line 24

Class

CsrfAccessCheck
Allows access to routes to be controlled by a '_csrf_token' parameter.

Namespace

Drupal\Core\Access

Code

protected $csrfToken;