You are here

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

SessionStore constructor.

Parameters

string $base_name Session base name.:

integer $cookie_expires Session expiration in seconds; default is 1 week - @deprecated 5.7.0:

File

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

Class

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

Namespace

Auth0\SDK\Store

Code

public function __construct($base_name = self::BASE_NAME, $cookie_expires = self::COOKIE_EXPIRES) {
  $this->session_base_name = (string) $base_name;
  $this->session_cookie_expires = (int) $cookie_expires;
}