Skip to content

Commit

Permalink
Merge pull request #847 from firebase/jw-update-signOut-docs
Browse files Browse the repository at this point in the history
Updated docs for $firebaseAuth.$signOut()
  • Loading branch information
davideast committed Aug 19, 2016
2 parents 3742de5 + 795a771 commit 3785497
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/migration/1XX-to-2XX.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Several authentication methods have been renamed and / or have different method
| `$changeEmail(credentials)` | `$updateEmail(newEmail)` | Changes the email of the currently signed-in user |
| `$changePassword(credentials)` | `$updatePassword(newPassword)` | Changes the password of the currently signed-in user |
| `$resetPassword(credentials)` | `$sendPasswordResetEmail(email)` | |
| `$unauth()` | `$signOut()` | |
| `$unauth()` | `$signOut()` | Now returns a `Promise` |
| `$onAuth(callback)` | `$onAuthStateChanged(callback)` | |
| `$requireAuth()` | `$requireSignIn()` | |
| `$waitForAuth()` | `$waitForSignIn()` | |
Expand Down
4 changes: 2 additions & 2 deletions docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,8 @@ offAuth();

### $signOut()

Unauthenticates a client from the Firebase Database. It takes no arguments and returns no value.
When called, the `$onAuthStateChanged()` callback(s) will be triggered.
Signs out a client. It takes no arguments and returns a `Promise` when the client has been signed
out. Upon fulfillment, the `$onAuthStateChanged()` callback(s) will be triggered.

```html
<span ng-show="firebaseUser">
Expand Down

0 comments on commit 3785497

Please sign in to comment.