Skip to main content
Version: 1.3

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

NameType
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

NameType
jsonany

Returns

JwtPresentationValidationOptions


clone

clone(): JwtPresentationValidationOptions

Deep clones the object.

Returns

JwtPresentationValidationOptions