Interface DidResolutionOptions

DID Resolution input metadata.

The DID Core specification defines the following common properties:

  • accept: The Media Type that the caller prefers for the returned representation of the DID Document.

The possible properties within this structure and their possible values are registered in the DID Specification Registries.

interface DidResolutionOptions {
    accept?: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Properties

accept?: string

The Media Type that the caller prefers for the returned representation of the DID Document.

This property is REQUIRED if the resolveRepresentation function was called. This property MUST NOT be present if the resolve function was called.

The value of this property MUST be an ASCII string that is the Media Type of the conformant representations. The caller of the resolveRepresentation function MUST use this value when determining how to parse and process the didDocumentStream returned by this function into the data model.