create Ds Login
fun createDsLogin(context: Context, dsApplication: DsApplication, callBackUrl: String, environment: DsEnvironment = DsEnvironment.Production, retainSession: Boolean = false, debug: Boolean = false): DsLogin
Creates an instance of DsLogin.
Return
An instance of DsLogin.
Parameters
context
The context of the application.
ds Application
The DsApplication object that contains the application id and domain.
call Back Url
The url that the user will be redirected to after a successful login.
environment
The environment that the SDK should use.
retain Session
If set to true, the SDK will keep the session between app restarts.
debug
If set to true, the SDK will log all network requests.