Skip to main content

@idunion/tl-sdk / Exports / DidDocument

Interface: DidDocument

Table of contents​

Properties​

Properties​

@context​

• @context: string[]

The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context

Defined in​

api.ts:51


assertionMethod​

• Optional assertionMethod: string[]

The assertionMethod verification relationship is used to specify how the DID subject is expected to express claims, such as for the purposes of issuing a Verifiable Credential [VC-DATA-MODEL]. https://www.w3.org/TR/did-1.0/#assertion

Defined in​

api.ts:72


authentication​

• Optional authentication: string[]

The authentication verification relationship is used to specify how the DID subject is expected to be authenticated, for purposes such as logging into a website or engaging in any sort of challenge-response protocol. https://www.w3.org/TR/did-1.0/#authentication

Defined in​

api.ts:68


capabilityInvocation​

• Optional capabilityInvocation: string[]

The capabilityInvocation verification relationship is used to specify a verification method that might be used by the DID subject to invoke a cryptographic capability, such as the authorization to update the DID Document. https://www.w3.org/TR/did-1.0/#capability-invocation

Defined in​

api.ts:64


controller​

• Optional controller: string[]

An entity that has the capability to make changes to a DID document. A DID might have more than one DID controller. The DID controller(s) can be denoted by the optional controller property at the top level of the DID document. Note that a DID controller might be the DID subject. https://www.w3.org/TR/did-1.0/#dfn-did-controllers

Defined in​

api.ts:55


id​

• id: string

Defined in​

api.ts:56


service​

• Optional service: ServiceItem[]

Defined in​

api.ts:73


verificationMethod​

• Optional verificationMethod: VerificationMethod[]

The verificationMethod property is OPTIONAL. If present, the value MUST be a set of verification methods, where each verification method is expressed using a map. The verification method map MUST include the id, type, controller, and specific verification material properties that are determined by the value of type and are defined in 5.2.1 Verification Material. A verification method MAY include additional properties. Verification methods SHOULD be registered in the DID Specification Registries [DID-SPEC-REGISTRIES]. https://www.w3.org/TR/did-1.0/#verification-methods

Defined in​

api.ts:60