Means of communicating or interacting with the DID subject or associated entities via one or more service endpoints. Examples include discovery services, agent services, social networking services, file storage services, and verifiable credential repository services.
DidService(unnamed 1?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },)
Constructs a new instance of DidService with the given values.
_contextLoader: DocumentLoader | undefined
_documentLoader: DocumentLoader | undefined
A network address, such as an HTTP URL, at which services operate on behalf of a DID subject.
A network address, such as an HTTP URL, at which services operate on behalf of a DID subject.
[Symbol.for("Deno.customInspect")](inspect: Deno.inspect,options: Deno.InspectOptions,): string
_getCustomInspectProxy(): Record<string, unknown>
clone(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): DidService
Clones this instance, optionally updating it with the given values.
isCompactable(): boolean
The type URI of DidService: https://www.w3.org/ns/did#Service
.
fromJsonLd(json: unknown,options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): Promise<DidService>
Converts a JSON-LD structure to an object of this type.