CookieResourceTestTrait::$csrfToken

Same name in other branches
  1. 8.9.x core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php \Drupal\Tests\rest\Functional\CookieResourceTestTrait::csrfToken
  2. 10 core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php \Drupal\Tests\rest\Functional\CookieResourceTestTrait::csrfToken
  3. 11.x core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php \Drupal\Tests\rest\Functional\CookieResourceTestTrait::csrfToken

The CSRF token.

Type: string

See also

::initAuthentication

File

core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php, line 41

Class

CookieResourceTestTrait
Trait for ResourceTestBase subclasses testing $auth=cookie.

Namespace

Drupal\Tests\rest\Functional

Code

protected $csrfToken;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.