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
new MemoryJtiStore(): MemoryJtiStore;
ReturnsLink to this section
MemoryJtiStore
MethodsLink to this section
add()Link to this section
add(jti: string, exp: number): boolean;
Defined in: me-client/src/tokens.ts:44 (opens in a new tab)
ParametersLink to this section
| Parameter | Type |
|---|---|
jti | string |
exp | number |
ReturnsLink to this section
boolean