Returns responses for CSRF token routes.
Hierarchy
- class \Drupal\system\Controller\CsrfTokenController implements ContainerInjectionInterface
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. |
Please login to continue.