CsrfTokenGenerator::$sessionMetadata
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::sessionMetadata
- 10 core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::sessionMetadata
- 11.x core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::sessionMetadata
The session metadata bag.
Type: \Drupal\Core\Session\MetadataBag
File
-
core/
lib/ Drupal/ Core/ Access/ CsrfTokenGenerator.php, line 29
Class
- CsrfTokenGenerator
- Generates and validates CSRF tokens.
Namespace
Drupal\Core\AccessCode
protected $sessionMetadata;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.