2.0.0 • Published 2 years ago

@verixyz/did-resolver v2.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

verixyz DID Document resolver plugin

This plugin exposes a DID resolver API to the rest of the agent. This is used to obtain DID documents that are used for verification and communication.

Class

DIDResolverPlugin

Constructors

  • (constructor)(options) Constructs a new instance of the DIDResolverPlugin class

Properties

  • methods: IResolver
  • schema: any

Methods

  • getDIDComponentById({ didDocument, didUrl, section, }) Dereferences a DID URL fragment and returns the corresponding DID document entry.

  • resolveDid({ didUrl, options, }) Resolves DID and returns DID Resolution Result

UniversalResolver

Constructors

  • (constructor)(options) Constructs a new instance of the UniversalResolver class