CsrfTokenGenerator::$privateKey
Same name in other branches
- 9 core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::privateKey
- 10 core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::privateKey
- 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\AccessCode
protected $privateKey;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.