Back to Acra

setBasicAuth

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

latest459 B
Original Source

fun setBasicAuth(username: String?, password: String?) Content copied to clipboard

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.