You are here

public function Request::getCsrfToken in RESTful 7.2

Get CSRF Token.

Return value

string Gets the CSRF token.

Overrides RequestInterface::getCsrfToken

File

src/Http/Request.php, line 560
Contains \Drupal\restful\Http\Request

Class

Request
Deals with everything coming from the consumer.

Namespace

Drupal\restful\Http

Code

public function getCsrfToken() {
  return $this->csrfToken;
}