chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.fetch / AuthChallengeResponse

AuthChallengeResponse

data class AuthChallengeResponse

Response to an AuthChallenge.

Official doc

Constructors

<init>

Response to an AuthChallenge.

AuthChallengeResponse(response: String, username: String? = null, password: String? = null)

Properties

password

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

val password: String?

response

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.

val response: String

username

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

val username: String?