Hierarchy

  • DidService

Properties

create: ((request) => Promise<DidServiceCreateResponse>)

Type declaration

    • (request): Promise<DidServiceCreateResponse>
    • Creates a DID.

      Parameters

      • request: DidServiceCreateRequest

      Returns Promise<DidServiceCreateResponse>

delete: ((did) => Promise<DidServiceDeleteResponse>)

Type declaration

    • (did): Promise<DidServiceDeleteResponse>
    • Deletes a DID where local metadata exists.

      Parameters

      • did: string

      Returns Promise<DidServiceDeleteResponse>

dereference: (<T>(didUrl) => Promise<DidServiceDereferenceResponse<T>>)

Type declaration

    • <T>(didUrl): Promise<DidServiceDereferenceResponse<T>>
    • Resolves and dereferences DID url.

      Type Parameters

      • T extends object

      Parameters

      • didUrl: string

      Returns Promise<DidServiceDereferenceResponse<T>>

info: ((did) => Promise<DidServiceInfoResponse>)

Type declaration

list: (() => Promise<readonly string[]>)

Type declaration

    • (): Promise<readonly string[]>
    • Lists all DIDs where local metadata exists.

      Returns Promise<readonly string[]>

Generated using TypeDoc