class DummyStateHandler in Auth0 Single Sign On 8.2
Dummy implementation of the StateHandler
@author Auth0
Hierarchy
- class \Auth0\SDK\API\Helpers\State\DummyStateHandler implements StateHandler
Expanded class hierarchy of DummyStateHandler
Deprecated
5.7.0, no replacement provided.
2 files declare their use of DummyStateHandler
- Auth0.php in vendor/
auth0/ auth0-php/ src/ Auth0.php - DummyStateHandlerTest.php in vendor/
auth0/ auth0-php/ tests/ API/ Helpers/ State/ DummyStateHandlerTest.php
File
- vendor/
auth0/ auth0-php/ src/ API/ Helpers/ State/ DummyStateHandler.php, line 21
Namespace
Auth0\SDK\API\Helpers\StateView source
class DummyStateHandler implements StateHandler {
/**
* Generate state value to be used for the state param value during authorization.
*
* @return string|null
*/
public function issue() {
return null;
}
/**
* Store state value to be used for the state param value during authorization.
*
* @param string $state
*
* @return string|void
*/
public function store($state) {
}
/**
* Perform validation of the returned state with the previously generated state.
*
* @param string $state
*
* @return boolean result
*
* @throws \Exception
*/
public function validate($state) {
return true;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DummyStateHandler:: |
public | function |
Generate state value to be used for the state param value during authorization. Overrides StateHandler:: |
|
DummyStateHandler:: |
public | function |
Store state value to be used for the state param value during authorization. Overrides StateHandler:: |
|
DummyStateHandler:: |
public | function |
Perform validation of the returned state with the previously generated state. Overrides StateHandler:: |