AuthTwoFactorRequiredException class
Exception used by an adapter to return a pending sign-in response.
- Inheritance
-
- Object
- AuthFlowException
- AuthTwoFactorRequiredException
Constructors
- AuthTwoFactorRequiredException({required AuthTwoFactorSignInChallenge challenge})
- Creates an exception carrying a challenge that the adapter must present.
Properties
- challenge → AuthTwoFactorSignInChallenge
-
Pending challenge that must be completed before sign-in can finish.
final
- code → String
-
Stable machine-readable code for the failed authentication flow.
finalinherited
- 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
-
toString(
) → String -
Returns the exception in its stable diagnostic form.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited