puppeteer/new-docs/puppeteer.protocol.network.authchallengeresponse.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02: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. (AuthChallengeResponseResponse enum)
username string The username to provide, possibly empty. Should only be set if response is ProvideCredentials.