webLoginVariantFlowStart

abstract fun webLoginVariantFlowStart(context: Context, variant: DsLoginVariant): Single<LoginComplete>

This method should only be used by applications that uses custom login flows. Contact the SDK team for more information on how to use this method.

Please use the loginStart method for the standard login flow.

Starts the login flow with a specific login variant. This will open the web login screen and return a LoginComplete object when the user has successfully logged in. The login variant is used to specify the login flow that should be started.

Throws

HttpException

if the network request fails

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