AuthChallenge

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

Authorization challenge for HTTP status code 401 or 407.

Official doc

Constructors

Link copied to clipboard
constructor(source: AuthChallengeSource? = 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

Source of the authentication challenge.