CsrfTokenGenerator::$sessionMetadata

Same name in other branches
  1. 9 core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::sessionMetadata
  2. 8.9.x core/lib/Drupal/Core/Access/CsrfTokenGenerator.php \Drupal\Core\Access\CsrfTokenGenerator::sessionMetadata
  3. 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\Access

Code

protected $sessionMetadata;

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