Class DehydrationManager

Hierarchy

  • DehydrationManager

Constructors

Properties

crypto: Crypto
deviceDisplayName?: string
inProgress: boolean = false
key?: Uint8Array
keyInfo?: {
    [props: string]: any;
}

Type declaration

  • [props: string]: any
timeoutId: any

Methods

  • returns the device id of the newly created dehydrated device

    Returns Promise<undefined | string>

  • Parameters

    • key: Uint8Array
    • keyInfo: {
          [props: string]: any;
      } = {}
      • [props: string]: any
    • Optional deviceDisplayName: string

    Returns Promise<undefined | boolean>

  • set the key, and queue periodic dehydration to the server in the background

    Parameters

    • key: Uint8Array
    • keyInfo: {
          [props: string]: any;
      } = {}
      • [props: string]: any
    • Optional deviceDisplayName: string

    Returns Promise<void>

Generated using TypeDoc