This is my code for checking the current auth-state of the user in a Firebase based auth app. I wish to access user parameters (user.uid, user.photoURL etc.) outside the