loginBasicAuth

suspend fun loginBasicAuth(username: String, password: String): LocalzResult<BackgroundSdkState>

Logs in using basic authentication.

Return

A LocalzResult containing the current BackgroundSdkState.

Parameters

username

The username for authentication.

password

The password for authentication.

Throws

if the SDK is not configured.