AuthChallenge

@Serializable
data class AuthChallenge(val source: String? = null, val origin: String, val scheme: String, val realm: String)

Authorization challenge for HTTP status code 401 or 407.

Constructors

Link copied to clipboard
constructor(source: String? = null, origin: String, scheme: String, realm: String)

Properties

Link copied to clipboard

Origin of the challenger.

Link copied to clipboard

The realm of the challenge. May be empty.

Link copied to clipboard

The authentication scheme used, such as basic or digest

Link copied to clipboard
val source: String? = null

Source of the authentication challenge.