webLoginStart

abstract fun webLoginStart(context: Context): Single<LoginComplete>

Starts the login flow. This will open the web login screen and return a LoginComplete object when the user has successfully logged in.

If the user terminates the web login flow by closing the external webview, the subscriber will not be notified, so when doing the subscription, any previous login subscription must be disposed, to prevent multiple emissions.

Throws

HttpException

if the network request fails

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