NetworkAuthenticationChallenge

data class NetworkAuthenticationChallenge(val hostname: String, val networkAuthenticationType: NetworkAuthenticationType, val cause: Throwable)

Represents an authentication challenge that is raised upon encountering an authentication error. This class provides information about the authentication challenge, such as the request hostname, the NetworkAuthenticationType, and the cause.

Since

200.0.0

Parameters

hostname

the hostname of the request which led to this authentication challenge

networkAuthenticationType

the type of challenge to be issued

cause

the underlying cause that led to this authentication challenge.

Constructors

Link copied to clipboard
constructor(hostname: String, networkAuthenticationType: NetworkAuthenticationType, cause: Throwable)

Properties

Link copied to clipboard
Link copied to clipboard