IJwtPresentationOptions
@iota/identity-wasm API documentation
Interface: IJwtPresentationOptions
Options to be set in the JWT claims of a verifiable presentation.
Properties
expirationDate?
readonlyoptionalexpirationDate:Timestamp
Set the presentation's expiration date.
Default: undefined.
issuanceDate?
readonlyoptionalissuanceDate:Timestamp
Set the presentation's issuance date. Default: current datetime.
audience?
readonlyoptionalaudience:string
Sets the audience for presentation (aud property in JWT claims).
Note:
Value must be a valid URL.
Default: undefined.
customClaims?
readonlyoptionalcustomClaims:Record<string,any>
Custom claims that can be used to set additional claims on the resulting JWT.