Options
All
  • Public
  • Public/Protected
  • All
Menu

Legacy implementation of AuthClientStorage, for use where IndexedDb is not available

Hierarchy

  • LocalStorage

Implements

  • AuthClientStorage

Index

Constructors

  • new LocalStorage(prefix?: string, _localStorage?: Storage): LocalStorage

Properties

prefix: string = 'ic-'

Methods

  • _getLocalStorage(): Storage
  • get(key: string): Promise<null | string>
  • Parameters

    • key: string

    Returns Promise<null | string>

  • remove(key: string): Promise<void>
  • Parameters

    • key: string

    Returns Promise<void>

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

    • key: string
    • value: string

    Returns Promise<void>

Generated using TypeDoc