UNPKG

@auth0/auth0-spa-js

Version:

Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE

8 lines (7 loc) 303 B
import { ICache, Cacheable, MaybePromise } from './shared'; export declare class LocalStorageCache implements ICache { set<T = Cacheable>(key: string, entry: T): void; get<T = Cacheable>(key: string): MaybePromise<T | undefined>; remove(key: string): void; allKeys(): string[]; }