public function SessionStore::set in Auth0 Single Sign On 8.2
Persists $value on $_SESSION, identified by $key.
Parameters
string $key Session key to set.:
mixed $value Value to use.:
Return value
void
Overrides StoreInterface::set
File
- vendor/
auth0/ auth0-php/ src/ Store/ SessionStore.php, line 73
Class
- SessionStore
- This class provides a layer to persist user access using PHP Sessions.
Namespace
Auth0\SDK\StoreCode
public function set($key, $value) {
$this
->initSession();
$key_name = $this
->getSessionKeyName($key);
$_SESSION[$key_name] = $value;
}