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

1.6 KiB

Home > puppeteer > Protocol > Fetch > AuthRequiredEvent

Protocol.Fetch.AuthRequiredEvent interface

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

Signature:

export interface AuthRequiredEvent 

Properties

Property Type Description
authChallenge AuthChallenge Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
frameId Page.FrameId The id of the frame that initiated the request.
request Network.Request The details of the request.
requestId RequestId Each request the page makes will have a unique id.
resourceType Network.ResourceType How the requested resource will be used.