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:
- Only the JSON Web Token Proof Format
Table of contents
Constructors
Methods
Constructors
constructor
• new DomainLinkageConfiguration(linkedDids
)
Constructs a new DomainLinkageConfiguration.
Parameters
Name | Type |
---|---|
linkedDids | Jwt [] |
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
Name | Type |
---|---|
json | any |
Returns
clone
▸ clone(): DomainLinkageConfiguration
Deep clones the object.