Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Fetch.AuthRequiredEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { AuthRequiredEvent } = default.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.