pl.wendigo.chrome.api.fetch / AuthChallengeResponse

AuthChallengeResponse

data class AuthChallengeResponse (source)

Response to an AuthChallenge.

Link
Fetch#AuthChallengeResponse type documentation.

Constructors

<init>

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

Response to an AuthChallenge.

Properties

password

val password: String?

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

response

val response: String

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.

username

val username: String?

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