OtplessSslPinning enum

SSL certificate pinning mode, passed to Otpless.initialize.

Defaults to disabled, which matches the pre-3.0 behaviour. When enabled and pin validation fails, the SDK fails closed and delivers responseType: "FAILED", statusCode: 5004 with response: {"errorCode": "5004", "errorMessage": "SSL pin validation failed"} on both platforms; no authentication request leaves the device.

Marshalled to the native side as the string "enabled" / "disabled"; unknown values are treated as disabled.

Inheritance
Available extensions

Values

disabled → const OtplessSslPinning
enabled → const OtplessSslPinning

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<OtplessSslPinning>
A constant List of the values in this enum, in order of their declaration.