PhoneAuthProvider class

This class should be used to either create a new Phone credential with an verification ID and SMS code.

Typically this provider will be used when calling signInWithPhoneNumber to generate a new PhoneAuthCredential when a SMS code has been sent.

Inheritance

Constructors

PhoneAuthProvider()
Creates a new instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
providerId String
The provider ID.
finalinherited
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

credential({required String verificationId, required String smsCode}) PhoneAuthCredential
Create a new PhoneAuthCredential from a provided verificationId and smsCode.
credentialFromTemporaryProof({required String temporaryProof, required String phoneNumber}) PhoneAuthCredential

Constants

id → const String
PHONE_SIGN_IN_METHOD → const String
phoneSignInMethod → const String
PROVIDER_ID → const String