PhoneAuthController class abstract
A controller interface of the PhoneAuthFlow.
- Inheritance
-
- Object
- AuthController
- PhoneAuthController
- Implementers
Constructors
Properties
- action → AuthAction
-
An authentication action to perform.
no setterinherited
- auth → FirebaseAuth
-
The
FirebaseAuth
instance used to perform authentication against. By default,FirebaseAuth.instance
is used.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acceptPhoneNumber(
String phoneNumber, [MultiFactorSession? multiFactorSession]) → void - Initializes the flow with a phone number. This method should be called after user submits a phone number.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Resets the controller to initial state.
Usuall called when user cancels the authentication flow.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verifySMSCode(
String code, {String? verificationId, ConfirmationResult? confirmationResult}) → void - Triggers an SMS code verification.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited