You are here

class EmptyStore in Auth0 Single Sign On 8.2

This class is a mockup store, that discards the values, its a way of saying no store.

@author Auth0

Hierarchy

Expanded class hierarchy of EmptyStore

Deprecated

5.7.0, no replacement provided.

2 files declare their use of EmptyStore
Auth0.php in vendor/auth0/auth0-php/src/Auth0.php
Oauth2Client.php in vendor/auth0/auth0-php/src/API/Oauth2Client.php

File

vendor/auth0/auth0-php/src/Store/EmptyStore.php, line 23

Namespace

Auth0\SDK\Store
View source
class EmptyStore implements StoreInterface {
  public function set($key, $value) {
  }
  public function get($key, $default = null) {
    return $default;
  }
  public function delete($key) {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EmptyStore::delete public function Remove a value from the store Overrides StoreInterface::delete
EmptyStore::get public function Get a value from the store by a given key Overrides StoreInterface::get
EmptyStore::set public function Set a value on the store Overrides StoreInterface::set