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?
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?