parse-community/Parse-SDK-Android

Manage multiple accounts

riccardoch opened this issue · 0 comments

My app allows the user to connect with multiple accounts; I use "ParseUser.becomeInBackground(sessionToken)" to connect to the different accounts.
I'd like to clear local session data without deleting the session in Parse Database; ParseUser.getCurrentUser() should return null.
Using logOut function is not a good solution because the sessionToken is removed from the Database.
Is there a way to clear local session data without logging out?