You are here

service csrf_token in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \csrf_token
  2. 9 core/core.services.yml \csrf_token

Class

Drupal\Core\Access\CsrfTokenGenerator
17 string references to csrf_token
BigPipePlaceholderTestCases::cases in core/modules/big_pipe/tests/modules/big_pipe_test/src/BigPipePlaceholderTestCases.php
Gets all BigPipe placeholder test cases.
comment_test_comment_links_alter in core/modules/comment/tests/modules/comment_test/comment_test.module
Implements hook_comment_links_alter().
CookieResourceTestTrait::initAuthentication in core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php
CsrfTokenController::create in core/modules/system/src/Controller/CsrfTokenController.php
Instantiates a new instance of this class.
Drupal::csrfToken in core/lib/Drupal.php
Returns the CSRF token manager service.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Access\CsrfTokenGenerator
  2. arguments:
  3. - '@private_key'
  4. - '@session_manager.metadata_bag'