import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
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.
request: Network.Request
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.