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

Class: InMemoryStorage

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

+ new InMemoryStorage(): InMemoryStorage

Returns: InMemoryStorage

Properties

map

Private map: any

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

Methods

delete

delete(key: string): Promise<void>

Parameters:

Name

Type

key

string

Returns: Promise<void>

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


get

get(key: string): Promise<undefined | string>

Parameters:

Name

Type

key

string

Returns: Promise<undefined | string>

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


set

set(key: string, value: string): Promise<void>

Parameters:

Name

Type

key

string

value

string

Returns: Promise<void>

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