mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.6 KiB
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. |