Constructors
Methods
dehydrateDevice
- dehydrateDevice(): Promise<undefined | string>
Returns Promise<undefined | string>
getDehydrationKeyFromCache
- getDehydrationKeyFromCache(): Promise<void>
setKey
- setKey(key, keyInfo?, deviceDisplayName?): Promise<undefined | boolean>
Parameters
- key: Uint8Array
- keyInfo: {
[props: string]: any;
} = {} Optional
deviceDisplayName: string
Returns Promise<undefined | boolean>
setKeyAndQueueDehydration
- setKeyAndQueueDehydration(key, keyInfo?, deviceDisplayName?): Promise<void>
Parameters
- key: Uint8Array
- keyInfo: {
[props: string]: any;
} = {} Optional
deviceDisplayName: string
returns the device id of the newly created dehydrated device