You are here

public function StateHandler::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

2 methods override StateHandler::validate()
DummyStateHandler::validate in vendor/auth0/auth0-php/src/API/Helpers/State/DummyStateHandler.php
Perform validation of the returned state with the previously generated state.
SessionStateHandler::validate in vendor/auth0/auth0-php/src/API/Helpers/State/SessionStateHandler.php
Perform validation of the returned state with the previously generated state.

File

vendor/auth0/auth0-php/src/API/Helpers/State/StateHandler.php, line 49

Class

StateHandler
This interface must be implemented by state handlers.

Namespace

Auth0\SDK\API\Helpers\State

Code

public function validate($state);