Network.AuthChallengeResponse

Response to an AuthChallenge.

{
  "id": "AuthChallengeResponse",
  "type": "object",
  "description": "Response to an AuthChallenge.",
  "properties": [
    {
      "name": "response",
      "type": "string",
      "enum": [
        "Default",
        "CancelAuth",
        "ProvideCredentials"
      ],
      "description": "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."
    },
    {
      "name": "username",
      "type": "string",
      "optional": true,
      "description": "The username to provide, possibly empty. Should only be set if response is ProvideCredentials."
    },
    {
      "name": "password",
      "type": "string",
      "optional": true,
      "description": "The password to provide, possibly empty. Should only be set if response is ProvideCredentials."
    }
  ],
  "experimental": true
}