Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.85 KB

data-store.didstore.md

File metadata and controls

38 lines (26 loc) · 1.85 KB
id title hide_title
data-store.didstore
DIDStore class
true

DIDStore class

An implementation of AbstractDIDStore that uses a TypeORM database to store the relationships between DIDs, their providers and controllers and their keys and services as they are known and managed by a Veramo agent.

An instance of this class can be used by DIDManager as the data storage layer.

To make full use of this class, it should use the same database as the one used by KeyStore.

Signature:

export declare class DIDStore extends AbstractDIDStore

Extends: AbstractDIDStore

Constructors

Constructor Modifiers Description
(constructor)(dbConnection) Constructs a new instance of the DIDStore class

Methods

Method Modifiers Description
deleteDID({ did })
getDID({ did, alias, provider, })
importDID(args)
listDIDs(args)