CookieResourceTestTrait::$csrfToken
Same name in other branches
- 9 core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php \Drupal\Tests\rest\Functional\CookieResourceTestTrait::csrfToken
- 8.9.x core/modules/rest/tests/src/Functional/CookieResourceTestTrait.php \Drupal\Tests\rest\Functional\CookieResourceTestTrait::csrfToken
- 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 43
Class
- CookieResourceTestTrait
- Trait for ResourceTestBase subclasses testing $auth=cookie.
Namespace
Drupal\Tests\rest\FunctionalCode
protected $csrfToken;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.