$firebaseAuth.$signOut should return a promise
See original GitHub issueSign out method should return a promise similar to the normal js library method firebase.auth().signOut()
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Signout with Firebase 5.6.0 - Stack Overflow
According to the documentation, I just use auth().signOut() and it just returns a void promise. By the way, calling this function doesn't ...
Read more >Authentication State Persistence | Firebase - Google
This will return a promise that will resolve once the state finishes copying from one type of storage to the other. Calling a...
Read more >Firebase Authentication - LearnHowToProgram.com
The firebase.auth().createUserWithEmailAndPassword() method takes two arguments: an email and password. It returns a promise, which means we can attach then to ...
Read more >Building Applications Using Firebase, Part 2: Authentication
Create a Firebase auth user with a given email and password ... The promise will resolve a firebase user object with all the...
Read more >Sign Up, Login & Logout Users with Firebase Authentication
This is an asynchronous operation that returns a Promise, so let's tag on a .then() , which takes a callback function (for our...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like the API document is incorrect here. signOut() is a synchronous method and returns no value. I put in a bug to fix this in the docs, but AngularFire is behaving correctly in this case.
Proof that
$signOut()
is in fact a promise: https://plnkr.co/edit/ZPFtJMSEpPZKXv5vwn38