DigestAuth

class DigestAuth(val username: String, password: String? = null)

Authentication information used for client mode

Constructors

Link copied to clipboard
constructor(username: String)

Constructor when using default password

constructor(username: String, password: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Password

Link copied to clipboard

User name

Functions

Link copied to clipboard
fun makeDigestHeader(uri: String, method: String): String

Create digest authentication header

Link copied to clipboard
fun setAuthHeaderInfo(realm: String?, nonce: String?, qop: String = DEFAULT_AUTH_QOP)

Set the value of WWW-Authenticate Header