You are here

constant Authentication::TOKEN_VALUE in RESTful 7.2

Token value for token generation functions.

3 uses of Authentication::TOKEN_VALUE
CsrfToken::getCsrfToken in src/Plugin/resource/CsrfToken.php
Value callback; Return the CSRF token.
RestfulHookMenuTestCase::testViewEntity in tests/RestfulHookMenuTestCase.test
Test viewing an entity (GET method).
restful_csrf_session_token in ./restful.module
Page callback: returns a session token for the currently active user.

File

src/Plugin/authentication/Authentication.php, line 22
Contains \Drupal\restful\Plugin\authentication\Authentication

Class

Authentication

Namespace

Drupal\restful\Plugin\authentication

Code

const TOKEN_VALUE = 'rest';