Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sinco/deps.ts>Protocol.Fetch.AuthRequiredEvent

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.Fetch.AuthRequiredEvent
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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.

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.