Interface DereferenceDidUrl<Accept>

Type Parameters

  • Accept extends string = string

Hierarchy

Properties

Properties

dereference: ((didUrl, dereferenceOptions?) => Promise<DereferenceResult<Accept>>)

Type declaration

    • (didUrl, dereferenceOptions?): Promise<DereferenceResult<Accept>>
    • Parameters

      • didUrl: Did | DidUrl

        A conformant DID URL as a single string. This is the DID URL to dereference. To dereference a DID fragment, the complete DID URL including the DID fragment MUST be used. This input is REQUIRED.

      • Optional dereferenceOptions: DereferenceOptions<Accept>

        A metadata structure consisting of input options to the dereference function in addition to the didUrl itself. Properties defined by this specification are in 7.2.1 DID URL Dereferencing Options. This input is REQUIRED, but the structure MAY be empty.

      Returns Promise<DereferenceResult<Accept>>