PhoneAuthProvider class

Provider of a mobile number credential.

Constructors

PhoneAuthProvider()

Properties

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
A string representation of this object.
inherited

Operators

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

Static Methods

credentialWithPassword(String countryCode, String phoneNumber, String password) AGCAuthCredential
Obtains a credential using a mobile number and a password.
credentialWithVerifyCode(String countryCode, String phoneNumber, String verifyCode, {required String password}) AGCAuthCredential
Obtains a credential using a mobile number and a verification code.
requestVerifyCode(String countryCode, String phoneNumber, VerifyCodeSettings settings) Future<VerifyCodeResult?>
Applies for a verification code using a mobile number.