SmsChangePhoneNumberAuthProvider constructor
const
SmsChangePhoneNumberAuthProvider({
- required String phoneNumber,
- Locale? locale,
- required String countryNumber,
- VoidCallback? onAutoVerificationCompleted,
- void onAutoVerificationFailed(
- Exception error
AuthProvider for performing Authentication.change.
Used to change phone numbers.
Authentication.changeを実行するためのAuthProvider。
電話番号を変更する際に利用します。
Pass the phone number in phoneNumber
and the SMS language setting in locale
.
phoneNumber
で電話番号、locale
にSMSの言語設定を渡します。
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
でコードを確定してログインを行ないます。
ログイン後、電話番号の変更が可能になります。
Implementation
const SmsChangePhoneNumberAuthProvider({
required this.phoneNumber,
this.locale,
required this.countryNumber,
this.onAutoVerificationCompleted,
this.onAutoVerificationFailed,
});