identity.ts icon indicating copy to clipboard operation
identity.ts copied to clipboard

Add a Resolver function to the DID Class

Open JelleMillenaar opened this issue 5 years ago • 0 comments

Description A DID is an identifier that must be able to resolve to a DID Document. This functionality already exists in the DID Document class.

Requirements

  • [ ] Create a Resolve function in the DID Class
  • [ ] Load a DID Document via the DID Document class (If it isn't cached)
  • [ ] Optionally cache the DID Document in the DID class (Parameter cache : boolean = true).
  • [ ] Return the result in JSON?

Additional Info This function is ment to return different thing: DID Documents, public keys, service endpoint results etc... We need to consider how we catch all that. Might want to research how universal implementations do it.

JelleMillenaar avatar Dec 12 '19 10:12 JelleMillenaar