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.