CsrfRequestHeaderAccessCheck

Access protection against CSRF attacks.

Hierarchy

File

core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php, line 13

Namespace

Drupal\Core\Access

Members

Name Modifiers Type Description
CsrfRequestHeaderAccessCheck::$csrfToken protected property The token generator.
CsrfRequestHeaderAccessCheck::$sessionConfiguration protected property The session configuration.
CsrfRequestHeaderAccessCheck::access public function Checks access.
CsrfRequestHeaderAccessCheck::applies public function Declares whether the access check applies to a specific route or not. Overrides AccessCheckInterface::applies
CsrfRequestHeaderAccessCheck::TOKEN_KEY constant A string key that will used to designate the token used by this class.
CsrfRequestHeaderAccessCheck::__construct public function Constructs a new rest CSRF access check.
doc_Drupal
2016-10-29 08:59:10
Comments
Leave a Comment

Please login to continue.