CsrfRequestHeaderAccessCheck::TOKEN_KEY
Same name in other branches
- 9 core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php \Drupal\Core\Access\CsrfRequestHeaderAccessCheck::TOKEN_KEY
- 8.9.x core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php \Drupal\Core\Access\CsrfRequestHeaderAccessCheck::TOKEN_KEY
- 10 core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php \Drupal\Core\Access\CsrfRequestHeaderAccessCheck::TOKEN_KEY
A string key that will used to designate the token used by this class.
File
-
core/
lib/ Drupal/ Core/ Access/ CsrfRequestHeaderAccessCheck.php, line 18
Class
- CsrfRequestHeaderAccessCheck
- Access protection against CSRF attacks.
Namespace
Drupal\Core\AccessCode
const TOKEN_KEY = 'X-CSRF-Token request header';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.