Back to Acra

setBasicAuth

web/static/javadoc/5.9.7/acra/org.acra.sender/-http-sender/set-basic-auth.html

latest433 B
Original Source

fun setBasicAuth(username: String?, password: String?)

Set credentials for this HttpSender that override (if present) the ones set globally.

Parameters

username

The username to set for HTTP Basic Auth.

password

The password to set for HTTP Basic Auth.