A PrincipalResolver is used to resolve a key of the principal that is identified by DID different from did:key method. It can be passed into a UCAN validator in order to augmented it with additional DID methods support.

Hierarchy

Properties

Properties

resolveDIDKey?: ((did) => Await<Schema.Result<`did:key:${string}`, DIDKeyResolutionError>>)

Type declaration

Generated using TypeDoc