Skip to main content
Version: 1.3

Class: DomainLinkageConfiguration

identity_wasm.DomainLinkageConfiguration

DID Configuration Resource which contains Domain Linkage Credentials. It can be placed in an origin's .well-known directory to prove linkage between the origin and a DID. See: https://identity.foundation/.well-known/resources/did-configuration/#did-configuration-resource

Note:

Table of contents

Constructors

Methods

Constructors

constructor

new DomainLinkageConfiguration(linkedDids)

Constructs a new DomainLinkageConfiguration.

Parameters

NameType
linkedDidsJwt[]

Methods

toJSON

toJSON(): Object

  • Return copy of self without private attributes.

Returns

Object

toJSON(): any

Serializes this to a JSON object.

Returns

any


toString

toString(): string

Return stringified version of self.

Returns

string


linkedDids

linkedDids(): Jwt[]

List of the Domain Linkage Credentials.

Returns

Jwt[]


issuers

issuers(): CoreDID[]

List of the issuers of the Domain Linkage Credentials.

Returns

CoreDID[]


fromJSON

Static fromJSON(json): DomainLinkageConfiguration

Deserializes an instance from a JSON object.

Parameters

NameType
jsonany

Returns

DomainLinkageConfiguration


clone

clone(): DomainLinkageConfiguration

Deep clones the object.

Returns

DomainLinkageConfiguration