You are here

public function SessionStore::getSessionKeyName in Auth0 Single Sign On 8.2

Constructs a session key name.

Parameters

string $key Session key name to prefix and return.:

Return value

string

3 calls to SessionStore::getSessionKeyName()
SessionStore::delete in vendor/auth0/auth0-php/src/Store/SessionStore.php
Removes a persisted value identified by $key.
SessionStore::get in vendor/auth0/auth0-php/src/Store/SessionStore.php
Gets persisted values identified by $key. If the value is not set, returns $default.
SessionStore::set in vendor/auth0/auth0-php/src/Store/SessionStore.php
Persists $value on $_SESSION, identified by $key.

File

vendor/auth0/auth0-php/src/Store/SessionStore.php, line 122

Class

SessionStore
This class provides a layer to persist user access using PHP Sessions.

Namespace

Auth0\SDK\Store

Code

public function getSessionKeyName($key) {
  $key_name = $key;
  if (!empty($this->session_base_name)) {
    $key_name = $this->session_base_name . '_' . $key_name;
  }
  return $key_name;
}