Skip to main content
info
IOTA Identity for Rebased is currently in alpha and may still be subject to significant changes

DomainLinkageConfiguration

@iota/identity-wasm API documentation


Class: 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:

Constructors

new DomainLinkageConfiguration()

new DomainLinkageConfiguration(linkedDids): DomainLinkageConfiguration

Constructs a new DomainLinkageConfiguration.

Parameters

linkedDids

Jwt[]

Returns

DomainLinkageConfiguration

Methods

toJSON()

Call Signature

toJSON(): Object

  • Return copy of self without private attributes.
Returns

Object

Call Signature

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

json

any

Returns

DomainLinkageConfiguration


clone()

clone(): DomainLinkageConfiguration

Deep clones the object.

Returns

DomainLinkageConfiguration