Skip to main content

IKeybanStorage

Storage interface

This interface defines the methods that a Keyban storage must implement.

Properties

get()

get: (key, password?) => Promise<null | string>;

Parameters

key: string

password?: string

Returns

Promise<null | string>

Defined in

packages/sdk-base/src/storage.ts:7


set()

set: (key, value, password?) => Promise<void>;

Parameters

key: string

value: string

password?: string

Returns

Promise<void>

Defined in

packages/sdk-base/src/storage.ts:8