UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

20 lines (19 loc) 571 B
/** * Interface defining methods and properties to * be implemented by specific credential stores. */ export default interface ICredentialStore { /** * Returns the key associated with the specified * key identifier. * @param keyIdentifier for which to return the key. */ write(): Promise<void>; /** * Saves the specified key to the key store using * the key identifier. * @param keyIdentifier for the key being saved. * @param key being saved to the key store. */ read(): Promise<any>; }