struct Protocol::Fetch::AuthChallengeResponse
- Protocol::Fetch::AuthChallengeResponse
- Struct
- Value
- Object
Overview
Response to an AuthChallenge.
Included Modules
- JSON::Serializable
Defined in:
protocol/fetch.crConstructors
Instance Method Summary
-
#password : String | Nil
The password to provide, possibly empty.
-
#response : String
The decision on what to do in response to the authorization challenge.
-
#username : String | Nil
The username to provide, possibly empty.
Constructor Detail
Instance Method Detail
def password : String | Nil
#
The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
def 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.
def username : String | Nil
#
The username to provide, possibly empty. Should only be set if response is ProvideCredentials.