login

open fun login(username: String, password: String)

Specify the HTTP basic credentials. Call this before calling {@link com.sap.cloud.mobile.kotlin.odata.http.HttpRequest#send() HttpRequest.send} if the server requires HTTP basic authentication.

Parameters

username

Username for HTTP basic authentication.

password

Password for HTTP basic authentication.