Skip to content
On this page

Class: MemoryJtiStore

Defined in: me-client/src/tokens.ts:41 (opens in a new tab)

A JtiStore in this process's memory: for tests and a single process. Two servers, or a restart, each have their own, so a token could start a session on each: in production, use a store they share.

ImplementsLink to this section

ConstructorsLink to this section

ConstructorLink to this section

TypeScript
new MemoryJtiStore(): MemoryJtiStore;

ReturnsLink to this section

MemoryJtiStore

MethodsLink to this section

add()Link to this section

TypeScript
add(jti: string, exp: number): boolean;

Defined in: me-client/src/tokens.ts:44 (opens in a new tab)

ParametersLink to this section

ParameterType
jtistring
expnumber

ReturnsLink to this section

boolean

Implementation ofLink to this section

JtiStore.add