minca
ApiCoreFunctions

Function: getDeviceKey()

function getDeviceKey(id, dbName?): Promise<CryptoKey | null>;

Defined in: packages/core/src/identity/device-key.ts:40

Finds a device key by id. Absent is a normal answer: the wrap was made in another browser, or storage has been cleared since.

Parameters

ParameterTypeDefault value
idstringundefined
dbName?stringDB_NAME

Returns

Promise<CryptoKey | null>

On this page