migrate
Attempts to migrate a token from a SessionClient to a Token. The resulting Token can be stored using Credential.store, and can be set as default using Credential.setDefaultAsync or Credential.default.
Return
a Result with the outcome of the migration.
Parameters
context
used for storing the status of previous migrations in Shared Preferences.
sessionClient
a configured session client with the stored tokens from a previous authentication where the token will be migrated from.