JwtPresentationValidationOptions
@iota/identity-wasm API documentation
Class: JwtPresentationValidationOptions
Options to declare validation criteria when validating presentation.
Constructors
new JwtPresentationValidationOptions()
new JwtPresentationValidationOptions(
options
?):JwtPresentationValidationOptions
Creates a new JwtPresentationValidationOptions from the given fields.
Throws an error if any of the options are invalid.
Parameters
options?
null
| IJwtPresentationValidationOptions
Returns
JwtPresentationValidationOptions
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
json
any
Returns
JwtPresentationValidationOptions
clone()
clone():
JwtPresentationValidationOptions
Deep clones the object.