IonDIDProvider class
DIDManager identifier provider for did:ion identifiers
Signature:
export declare class IonDIDProvider extends AbstractIdentifierProvider
Extends: AbstractIdentifierProvider
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(options) | Constructs a new instance of the IonDIDProvider class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| addKey({ identifier, key, options }, context) | Adds a key to a DID Document | |
| addService({ identifier, service, options }, context) | Adds a service to a DID Document | |
| createIdentifier({ kms, options, alias }, context) | Creates and returns a new identifier | |
| deleteIdentifier(identifier, context) | Deletes identifier | |
| removeKey({ identifier, kid, options }, context) | Removes a key from a DID Document | |
| removeService({ identifier, id, options }, context) | Removes a service from a DID Document | |
| updateIdentifier(args, context) |