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\Functional

Code

protected $csrfToken;

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