WebException class

Exception thrown by Auth0FlutterWebPlatform when something goes wrong.

Implemented types

Constructors

WebException(String error, String errorDescription, Map<String, dynamic> details)
const
WebException.authenticationError(String error, String message, [Map<String, dynamic>? details])
WebException.mfaError(String message, String mfaToken)
WebException.missingRefreshToken(String message)
WebException.passkeyError(String error, String message, [Map<String, dynamic>? details])
A passkey-related operation (challenge request or credential exchange) failed. error carries the underlying auth0-spa-js passkey error code (for example passkey_register_error, passkey_not_supported).
WebException.popupClosed(String message)
WebException.timeout(String message)

Properties

code → String
finalinherited
details → Map<String, dynamic>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
isPasskeyVerificationRetryable → bool
Whether this is a passkey identifier verification failure that can be retried on the same session, typically because a one-time code was wrong.
no setter
message → String
finalinherited
passkeyAuthSession → String?
The auth session to use when retrying after a wrong one-time code, or null when the error carries none.
no setter
passkeyVerificationRequired → List<PasskeyVerificationMethod>?
The identifiers that still need a valid one-time code, or null unless isPasskeyVerificationRetryable is true.
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