Skip to main content

ICredentialStorage interface

Interface for credential storages

ICredentialStorage

Signature:

export interface ICredentialStorage 

Methods

MethodDescription
findCredentialById(id)finds credential by identifier
findCredentialsByQuery(query)finds credential in the storage for given query
listCredentials()returns all credentials in the storage
removeCredential(id)Removes credential from storage
saveAllCredentials(credentials)save all credential (upsert) to the storage
saveCredential(credential)save credential to the storage