switchToUser
Switches to the specified user account. If the specified user account is invalid/doesn't exist, this method kicks off the login flow for a new user. When the user account switch is complete, it is imperative for the app to update its cached references to RestClient, to avoid holding on to a RestClient from the previous user.
Parameters
user
User account to switch to.
Switches to the specified user account.
Parameters
user
the user account to switch to
userSwitchType
a USER_SWITCH_TYPE constant
extras
a optional Bundle of extras to pass additionalinformation during user switch