Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Fetch.AuthRequiredEvent
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.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.