UNPKG

@trimble-oss/trimble-id

Version:

Trimble Identity SDK for JavaScript/ TypeScript

26 lines (20 loc) 572 B
/** * @interface IPersistantStorage * @description Interface for persistant storage */ export interface IPersistantStorage { /** * @param {string} key The key to store the value under * @param {string} value The value to store */ SetItem(key: String, value: string): void /** * @param {string} key The key to retrieve the value from * @returns {string} The value to stored */ GetItem(key: string): string /** * @param {string} key The key the value is stored under */ RemoveItem(key: string): void }