puppeteer/new-docs/puppeteer.protocol.network.authchallengeresponse.md
2020-07-13 14:01:35 +01:00

1.3 KiB

Home > puppeteer > Protocol > Network > AuthChallengeResponse

Protocol.Network.AuthChallengeResponse interface

Response to an AuthChallenge.

Signature:

export interface AuthChallengeResponse 

Properties

Property Type Description
password string The password to provide, possibly empty. Should only be set if response is ProvideCredentials.
response ('Default' | 'CancelAuth' | 'ProvideCredentials') 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 string The username to provide, possibly empty. Should only be set if response is ProvideCredentials.