Skip to main content
Version: 1.3

Interface: IJwtPresentationOptions

identity_wasm.IJwtPresentationOptions

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

Table of contents

Properties

Properties

expirationDate

Optional Readonly expirationDate: Timestamp

Set the presentation's expiration date. Default: undefined.


issuanceDate

Optional Readonly issuanceDate: Timestamp

Set the presentation's issuance date. Default: current datetime.


audience

Optional Readonly audience: string

Sets the audience for presentation (aud property in JWT claims).

Note:

Value must be a valid URL.

Default: undefined.


customClaims

Optional Readonly customClaims: Record\<string, any>

Custom claims that can be used to set additional claims on the resulting JWT.