PHP Interface yii\authclient\StateStorageInterface
Herein 'state' means a named variable, which is persistent between different requests.
Note: in order to function correctly state storage should vary depending on application session,
e.g. different web users should not share state with the same name.
Datei anzeigen
Open project: yiisoft/yii2-authclient
Public Methods
Method Details
If the variable does not exist, the $defaultValue will be returned.
public get ( string $key ) : mixed |
$key |
string |
the variable name |
return |
mixed |
the variable value, or `null` if the variable does not exist. |
Removes a state variable.
If the specified name already exists, the old value will be overwritten.