@@ -16,8 +16,8 @@ more difficult.
1616
1717## Before you begin
1818
19- Note: Using multi-factor authentication with
20- [ multiple tenants] ( https://cloud.google.com/identity-platform/docs/multi-tenancy )
19+ Note: Windows platform does not support multi-factor authentication. Using multi-factor authentication with
20+ [ multiple tenants] ( https://cloud.google.com/identity-platform/docs/multi-tenancy ) on any platform
2121is not supported on Flutter.
2222
23231 . Enable at least one provider that supports multi-factor authentication.
@@ -108,7 +108,7 @@ To enroll a new secondary factor for a user:
108108 // ...
109109 },
110110 codeAutoRetrievalTimeout: (_) {},
111- );
111+ );
112112 ```
113113
1141141 . Once the SMS code is sent, ask the user to verify the code:
@@ -141,7 +141,7 @@ The code below shows a complete example of enrolling a second factor:
141141 verificationCompleted: (_) {},
142142 verificationFailed: (_) {},
143143 codeSent: (String verificationId, int? resendToken) async {
144- // See `firebase_auth` example app for a method of retrieving user's sms code:
144+ // See `firebase_auth` example app for a method of retrieving user's sms code:
145145 // https://github.com/firebase/flutterfire/blob/main/packages/firebase_auth/firebase_auth/example/lib/auth.dart#L591
146146 final smsCode = await getSmsCodeFromUser(context);
147147
@@ -271,7 +271,7 @@ try {
271271 verificationCompleted: (_) {},
272272 verificationFailed: (_) {},
273273 codeSent: (String verificationId, int? resendToken) async {
274- // See `firebase_auth` example app for a method of retrieving user's sms code:
274+ // See `firebase_auth` example app for a method of retrieving user's sms code:
275275 // https://github.com/firebase/flutterfire/blob/main/packages/firebase_auth/firebase_auth/example/lib/auth.dart#L591
276276 final smsCode = await getSmsCodeFromUser(context);
277277
@@ -297,7 +297,7 @@ try {
297297 );
298298} catch (e) {
299299 ...
300- }
300+ }
301301```
302302
303303Congratulations! You successfully signed in a user using multi-factor
0 commit comments