AuthChallengeResponse

@Serializable
data class AuthChallengeResponse(val response: String, val username: String? = null, val password: String? = null)

Response to an AuthChallenge.

Constructors

Link copied to clipboard
constructor(response: String, username: String? = null, password: String? = null)

Properties

Link copied to clipboard
val password: String? = null

The password to provide, possibly empty. Should only be set if response is ProvideCredentials.

Link copied to clipboard

The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.

Link copied to clipboard
val username: String? = null

The username to provide, possibly empty. Should only be set if response is ProvideCredentials.