Class: JwtPresentationValidationOptions
identity_wasm.JwtPresentationValidationOptions
Options to declare validation criteria when validating presentation.
Table of contents
Constructors
Methods
Constructors
constructor
• new JwtPresentationValidationOptions(options?)
Creates a new JwtPresentationValidationOptions from the given fields.
Throws an error if any of the options are invalid.
Parameters
| Name | Type |
|---|---|
options? | IJwtPresentationValidationOptions |
Methods
toJSON
▸ toJSON(): any
Serializes this to a JSON object.
Returns
any
fromJSON
▸ Static fromJSON(json): JwtPresentationValidationOptions
Deserializes an instance from a JSON object.
Parameters
| Name | Type |
|---|---|
json | any |
Returns
JwtPresentationValidationOptions
clone
▸ clone(): JwtPresentationValidationOptions
Deep clones the object.