Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.Fetch.AuthRequiredEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { AuthRequiredEvent } = Protocol.Fetch;

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

Properties

requestId: RequestId

Each request the page makes will have a unique id.

The details of the request.

frameId: Page.FrameId

The id of the frame that initiated the request.

resourceType: Network.ResourceType

How the requested resource will be used.

authChallenge: AuthChallenge

Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.