Add support for new Firebase 3.x.x. authentication methods
See original GitHub issueThere are a bunch of new authentication methods in the Firebase 3.x.x
SDK which are not found in AngularFire 2.x.x
. These include the following:
The only reason we include the existing set of authentication methods is because those are the ones that were around in the Firebase 2.x.x
SDK. Now that we have a bunch of new methods, we should probably include them in the $firebaseAuth
service or else users will have to drop down to the vanilla Firebase SDK half of the time.
The counterpoint to adding them is that we end up just re-implementing a bunch of existing functionality in the vanilla SDK. Is there a different approach we can take to handle the $digest
loop issues that doesn’t involve use wrapping every method in the underlying SDK?
cc/ @katowulf, @abehaskins, @davideast - Thoughts?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:10
- Comments:18 (11 by maintainers)
Top GitHub Comments
Unfortunately not, any async event will need to be wrapped.
I think it’s important to provide these methods to keep continuity for the developer, so I’m on board 💯.
We should also consider deprecating
$getAuth()
in favor of$getCurrentUser()
.