Skip to content

Commit 66a1ab5

Browse files
authored
docs(ui_auth): Removed extra header and fixed typos (#10248)
* Removed extra header and fixed typo * ActionCodeSettings, added missing i * updated action names; fixed typo * verificatioN typo * typo: a -> as a * typo - emaiL * typos
1 parent a541e9a commit 66a1ab5

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

Diff for: packages/firebase_ui_auth/doc/navigation.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,7 @@ To learn more about the available actions, check out the [FirebaseUIActions API
9898

9999
## Other topics
100100

101-
## Other topics
102-
103-
- [EmaiAuthProvider](./providers/email.md) - allows registering and signing using email and password.
101+
- [EmailAuthProvider](./providers/email.md) - allows registering and signing using email and password.
104102
- [EmailLinkAuthProvider](./providers/email-link.md) - allows registering and signing using a link sent to email.
105103
- [PhoneAuthProvider](./providers/phone.md) - allows registering and signing using a phone number
106104
- [UniversalEmailSignInProvider](./providers/universal-email-sign-in.md) - gets all connected auth providers for a given email.

Diff for: packages/firebase_ui_auth/doc/providers/email-link.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ See [this doc](https://firebase.google.com/docs/auth/flutter/email-link-auth) fo
3939

4040
## Using screen
4141

42-
After adding `EmailLinkAuthProvider` to the `FirebaseUIAuth.configureProviders`, `SignInScreen` or `RegisterScren` will have a button that will trigger `EmailLinkSignInAction`, or, if no action provided, will open `EmailLinkSignInScreen` using `Navigator.push`.
42+
After adding `EmailLinkAuthProvider` to the `FirebaseUIAuth.configureProviders`, `SignInScreen` or `RegisterScreen` will have a button that will trigger `EmailLinkSignInAction`, or, if no action provided, will open `EmailLinkSignInScreen` using `Navigator.push`.
4343

4444
```dart
4545
MaterialApp(
46-
intiialRoute: '/login',
46+
initialRoute: '/login',
4747
routes: {
4848
'/login': (context) {
4949
return SignInScreen(
@@ -248,7 +248,7 @@ class _CustomEmailLinkSignInState extends State<CustomEmailLinkSignIn>
248248

249249
## Other topics
250250

251-
- [EmaiAuthProvider](./email.md) - allows registering and signing using email and password.
251+
- [EmailAuthProvider](./email.md) - allows registering and signing using email and password.
252252
- [Email verification](./email-verification.md)
253253
- [PhoneAuthProvider](./phone.md) - allows registering and signing using a phone number
254254
- [UniversalEmailSignInProvider](./universal-email-sign-in.md) - gets all connected auth providers for a given email.

Diff for: packages/firebase_ui_auth/doc/providers/email-verification.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ class App extends StatelessWidget {
2626
},
2727
'/profile': (context) => ProfileScreen(),
2828
'/verify-email': (context) => EmailVerificationScreen(
29-
actionCodeSettings: ActionCodeSettngs(...),
29+
actionCodeSettings: ActionCodeSettings(...),
3030
actions: [
31-
EmailVerified(() {
31+
EmailVerifiedAction(() {
3232
Navigator.pushReplacementNamed(context, '/profile');
3333
}),
34-
Cancel((context) {
34+
AuthCancelledAction((context) {
3535
FirebaseUIAuth.signOut(context: context);
3636
Navigator.pushReplacementNamed(context, '/');
3737
}),
@@ -45,7 +45,7 @@ class App extends StatelessWidget {
4545

4646
Once opened, it triggers a verification email to be sent and will wait for a dynamic link to be received by the app (on supported platforms).
4747

48-
## Using `EmailVerificatioController`
48+
## Using `EmailVerificationController`
4949

5050
If you want to build a custom email verification screen, you could use `EmailVerificationController`:
5151

@@ -103,7 +103,7 @@ class _MyEmailVerificationScreenState extends State<MyEmailVerificationScreen> {
103103

104104
## Other topics
105105

106-
- [EmaiAuthProvider](./email.md) - allows registering and signing using email and password.
106+
- [EmailAuthProvider](./email.md) - allows registering and signing using email and password.
107107
- [EmailLinkAuthProvider](./email-link.md) - allows registering and signing using a link sent to email.
108108
- [PhoneAuthProvider](./phone.md) - allows registering and signing using a phone number
109109
- [UniversalEmailSignInProvider](./universal-email-sign-in.md) - gets all connected auth providers for a given email.

Diff for: packages/firebase_ui_auth/doc/providers/email.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Configuration
44

5-
To support email a provider, first ensure that the "Email/Password" provider is
5+
To support email as a provider, first ensure that the "Email/Password" provider is
66
enabled in the [Firebase Console](https://console.firebase.google.com/project/_/authentication/providers):
77

88
![Enable Email/Password Provider](../images/ui-email-provider.jpg)

0 commit comments

Comments
 (0)