1

In Digits if I need to clear all active session I use method:

Digits.getSessionManager().clearActiveSession();

Is it possible to do same in Firebase?

Niraj Niroula
  • 2,376
  • 1
  • 17
  • 36
user8542613
  • 745
  • 2
  • 14
  • 25
  • Possible duplicate of [Clear firebase persistence after logout](https://stackoverflow.com/questions/38281761/clear-firebase-persistence-after-logout) – Pipiks Sep 22 '17 at 08:55

1 Answers1

4

Mike from Fabric & Firebase here.

I believe you're looking for:

FirebaseAuth.getInstance().signOut();

which would sign the user out of the active session. For reference: https://firebase.google.com/docs/auth/android/password-auth#next_steps

Mike Bonnell
  • 16,181
  • 3
  • 61
  • 77