SmsAuthQuery class
An AuthQuery
for SMS code authentication.
An SMS with a code is sent at signIn, and the code is confirmed at confirmSignIn to log in.
After logging in, you will be able to change your phone number.
SMSのコード認証を行うためのAuthQuery
。
signIn時にコード付きのSMSを送信し、confirmSignInでコードを確定してログインを行ないます。
ログイン後、電話番号の変更が可能になります。
- Available Extensions
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
-
changePhoneNumber(
{required String phoneNumber, required String countryNumber, Locale? locale, VoidCallback? onAutoVerificationCompleted, void onAutoVerificationFailed(Exception error)?}) → SmsChangePhoneNumberAuthProvider - AuthProvider for performing Authentication.change.
-
confirmChangePhoneNumber(
{required String code}) → SmsConfirmChangePhoneNumberAuthProvider - AuthProvider for performing Authentication.confirmChange.
-
confirmSignIn(
{required String code}) → SmsConfirmSignInAuthProvider - AuthProvider for performing Authentication.confirmSignIn.
-
signIn(
{required String phoneNumber, required String countryNumber, Locale? locale}) → SmsSignInAuthProvider - AuthProvider for performing Authentication.signIn.
Constants
- providerId → const String
- ID that defines the provider's process.