InappifyCaptchaChallenge class

CAPTCHA challenge required by an Inappify OTP flow.

The challenge key is opaque and must be sent back unchanged with the OTP request. The image is provider content intended for display, never logging.

Annotations

Constructors

InappifyCaptchaChallenge({required String captchaKey, required String captchaImage, required int expiresIn})
Creates an immutable CAPTCHA challenge.
const
InappifyCaptchaChallenge.fromMap(Map<String, dynamic> map)
Decodes the documented Web SDK challenge shape.
factory

Properties

captchaImage → String
Provider-supplied image payload or URL.
final
captchaKey → String
Opaque server challenge identifier.
final
expiresIn → int
Remaining validity in seconds.
final
hashCode → int
The hash code for this object.
no setterinherited
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
toMap() → Map<String, Object?>
Encodes this challenge using standard message-codec values.
toString() → String
A string representation of this object.
inherited

Operators

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