Skip to main content

JwpPresentationOptions

@iota/identity-wasm API documentation


Class: JwpPresentationOptions

Options to be set in the JWT claims of a verifiable presentation.

Accessors​

audience​

Get Signature​

get audience(): undefined | string

Sets the audience for presentation (aud property in JWP Presentation Header).

Returns​

undefined | string

Set Signature​

set audience(value): void

Sets the audience for presentation (aud property in JWP Presentation Header).

Parameters​
value​

undefined | null | string

Returns​

void


nonce​

Get Signature​

get nonce(): undefined | string

The nonce to be placed in the Presentation Protected Header.

Returns​

undefined | string

Set Signature​

set nonce(value): void

The nonce to be placed in the Presentation Protected Header.

Parameters​
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