requestLegacySessionToken

abstract fun requestLegacySessionToken(): Single<String>

Requests a legacy session token from the server. This is used for legacy features that do not support the new token flow.

Throws

if trying to request a AccessToken before user has logged in, or after any case where the token has been cleared

HttpException

if the network request fails

if the network request times out (in case of no or slow network)