Skip to content

Commit c93bb8d

Browse files
authoredNov 16, 2016
Update authentication.md
1 parent 524fbf5 commit c93bb8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎docs/api/authentication.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Firestack handles authentication for us out of the box, both with email/password
66
77
## Local Auth
88

9-
#### [onAuthStateChanged()](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#onAuthStateChanged)
9+
#### [onAuthStateChanged(event: Function)](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#onAuthStateChanged)
1010

1111
Listen for changes in the users auth state (logging in and out).
1212

@@ -34,7 +34,7 @@ This is important to release resources from our app when we don't need to hold o
3434
firestack.auth().offAuthStateChanged()
3535
```
3636

37-
#### [createUserWithEmailAndPassword()](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#createUserWithEmailAndPassword)
37+
#### [createUserWithEmailAndPassword(email: string, password: string)](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#createUserWithEmailAndPassword)
3838

3939
We can create a user by calling the `createUserWithEmailAndPassword()` function.
4040
The method accepts two parameters, an email and a password.
@@ -49,7 +49,7 @@ firestack.auth().createUserWithEmailAndPassword('ari@fullstack.io', '123456')
4949
})
5050
```
5151

52-
#### [signInWithEmailAndPassword()](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#signInWithEmailAndPassword)
52+
#### [signInWithEmailAndPassword(email: string, password: string)](https://firebase.google.com/docs/reference/js/firebase.auth.Auth#signInWithEmailAndPassword)
5353

5454
To sign a user in with their email and password, use the `signInWithEmailAndPassword()` function.
5555
It accepts two parameters, the user's email and password:

0 commit comments

Comments
 (0)