title: How do you keep the user logged in across multiple sessions on Firebase on Android?
body: <p>I'm currently using Firebase's email and password authentication to login my users.</p>
  
  <p>How do I keep a user logged in across multiple sessions so that if they close the app and come back later, they don't have to login again?</p>
  
  <p>Do I need to save an auth token in my <code>SharedPreferences</code> and attempted to login the user via this token when they start the app again? If so, is this the token in the <code>AuthData</code> object returned by <code>authWithPass()</code> (via Firebase's API), and which Firebase login method should I use with this token?</p>