CsrfTokenController

Returns responses for CSRF token routes.

Hierarchy

File

core/modules/system/src/Controller/CsrfTokenController.php, line 14

Namespace

Drupal\system\Controller

Members

Name Modifiers Type Description
CsrfTokenController::$tokenGenerator protected property The CSRF token generator.
CsrfTokenController::create public static function Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create
CsrfTokenController::csrfToken public function Returns a CSRF protecting session token.
CsrfTokenController::__construct public function Constructs a new CsrfTokenController object.
doc_Drupal
2016-10-29 08:59:11
Comments
Leave a Comment

Please login to continue.