Class: JwpPresentationOptions
identity_wasm.JwpPresentationOptions
Options to be set in the JWT claims of a verifiable presentation.
Table of contents
Accessors
Methods
Accessors
audience
• get
audience(): undefined
| string
Sets the audience for presentation (aud
property in JWP Presentation Header).
Returns
undefined
| string
• set
audience(value
): void
Sets the audience for presentation (aud
property in JWP Presentation Header).
Parameters
Name | Type |
---|---|
value | undefined | null | string |
Returns
void
nonce
• get
nonce(): undefined
| string
The nonce to be placed in the Presentation Protected Header.
Returns
undefined
| string
• set
nonce(value
): void
The nonce to be placed in the Presentation Protected Header.
Parameters
Name | Type |
---|---|
value | undefined | null | string |
Returns
void
Methods
toJSON
▸ toJSON(): Object
- Return copy of self without private attributes.
Returns
Object
toString
▸ toString(): string
Return stringified version of self.
Returns
string