@inrupt/solid-client-authn-node / InMemoryStorage

Class: InMemoryStorage

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new InMemoryStorage()

Properties

map

Private map: any

Defined in

core/dist/storage/InMemoryStorage.d.ts:3

Methods

delete

delete(key): Promise<void>

Parameters

Name

Type

key

string

Returns

Promise<void>

Implementation of

IStorage.delete

Defined in

core/dist/storage/InMemoryStorage.d.ts:6


get

get(key): Promise<undefined | string>

Parameters

Name

Type

key

string

Returns

Promise<undefined | string>

Implementation of

IStorage.get

Defined in

core/dist/storage/InMemoryStorage.d.ts:4


set

set(key, value): Promise<void>

Parameters

Name

Type

key

string

value

string

Returns

Promise<void>

Implementation of

IStorage.set

Defined in

core/dist/storage/InMemoryStorage.d.ts:5