You are here

public function OauthInterface::authRequestStateIsValid in Media: Acquia DAM 8

Validate that the state token in an auth request is valid.

Parameters

string $token: The CSRF token from the auth request.

Return value

bool TRUE if the state is valid. FALSE otherwise.

1 method overrides OauthInterface::authRequestStateIsValid()
Oauth::authRequestStateIsValid in src/Oauth.php
Validate that the state token in an auth request is valid.

File

src/OauthInterface.php, line 27

Class

OauthInterface
OAuth Interface.

Namespace

Drupal\media_acquiadam

Code

public function authRequestStateIsValid($token);