Read Auth State
Returns the current Firebase authentication state. Use this to check whether the user is already signed in before triggering a sign-in flow. Returns signedIn (bool), uid, email, displayName, and isAnonymous.
When to Use
- Works at any time — no user interaction needed
How to Use
Location: N/A — read-only background call
- Call readAuthState to check if the user is signed in
What to Expect
Returns { signedIn, uid, email, displayName, isAnonymous }
Prerequisites
None.
Limitations
- Reflects the state at the moment of the call — auth state may change after sign-in redirect