The previous version of Firebase (before google-fication) had an API
Is the new
Basically, what is the contract of the method? Is it designed for use where I can invoke it multiple times and it returns immediately the successful authenticated state after a first full authentication (up to some expiry period), or does it perform a full-blown network-based authentication every single time?
If you want to know if a user is signed in, call
FirebaseAuth.getCurrentUser(). It is the equivalent of
Firebase.getAuth() in the 2.x SDK.
FirebaseAuth.signInWithCredential() will try to sign in with the credentials you specify.
If you want to know when a user gets signed in/signed out or something changes about their state, use