Skip to main content

JptCredentialValidationOptions

@iota/identity-wasm API documentation


Class: JptCredentialValidationOptions

Options to declare validation criteria for Jpt.

Constructors​

new JptCredentialValidationOptions()​

new JptCredentialValidationOptions(opts?): JptCredentialValidationOptions

Creates a new default instance.

Parameters​

opts?​

null | IJptCredentialValidationOptions

Returns​

JptCredentialValidationOptions

Methods​

toJSON()​

Call Signature​

toJSON(): Object

  • Return copy of self without private attributes.
Returns​

Object

Call Signature​

toJSON(): any

Serializes this to a JSON object.

Returns​

any


toString()​

toString(): string

Return stringified version of self.

Returns​

string


clone()​

clone(): JptCredentialValidationOptions

Deep clones the object.

Returns​

JptCredentialValidationOptions


fromJSON()​

static fromJSON(json): JptCredentialValidationOptions

Deserializes an instance from a JSON object.

Parameters​

json​

any

Returns​

JptCredentialValidationOptions