Options
All
  • Public
  • Public/Protected
  • All
Menu

IdbStorage is an interface for simple storage of string key-value pairs built on IdbKeyVal

It replaces LocalStorage

see

implements {@link AuthClientStorage}

Hierarchy

  • IdbStorage

Implements

  • AuthClientStorage

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

initializedDb: undefined | IdbKeyVal

Accessors

Methods

  • 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