Docs

ISecureStorage

Secure storage interface for storing auth tokens.

The implementation of this interface should provide a secure way to store values. Either by encrypting the values or by storing them in a secure location.

type ISecureStorage = {
getItem: (key: string) => Promise<null | string>;
removeItem: (key: string) => Promise<void>;
setItem: (key: string, value: string) => Promise<void>;
};