You are here

public function DummyStateHandler::validate in Auth0 Single Sign On 8.2

Perform validation of the returned state with the previously generated state.

Parameters

string $state:

Return value

boolean result

Throws

\Exception

Overrides StateHandler::validate

File

vendor/auth0/auth0-php/src/API/Helpers/State/DummyStateHandler.php, line 53

Class

DummyStateHandler
Dummy implementation of the StateHandler

Namespace

Auth0\SDK\API\Helpers\State

Code

public function validate($state) {
  return true;
}