You are here

constant CsrfRequestHeaderAccessCheck::TOKEN_KEY in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php \Drupal\Core\Access\CsrfRequestHeaderAccessCheck::TOKEN_KEY
  2. 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\Access

Code

const TOKEN_KEY = 'X-CSRF-Token request header';