switchAccount
fun switchAccount(requestCode: Int, context: Context, listener: DSAuthenticationListener?)
Content copied to clipboard
This function helps the users switch the account they are logged into, if they have multiple accounts associated
Parameters
requestCode
This code will be returned in onActivityResult() if the calling activity exits
context
Application context
listener
Authentication listener which states whether the switching of account is successful or not