CsrfTokenGenerator::$privateKey

Same name in other branches
  1. 9 core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::privateKey
  2. 8.9.x core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::privateKey
  3. 11.x core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::privateKey

The private key service.

Type: \Drupal\Core\PrivateKey

File

core/lib/Drupal/Core/Access/CsrfTokenGenerator.php, line 22

Class

CsrfTokenGenerator
Generates and validates CSRF tokens.

Namespace

Drupal\Core\Access

Code

protected $privateKey;

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