Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Fetch.AuthChallenge
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { AuthChallenge } = Protocol.Fetch;

Authorization challenge for HTTP status code 401 or 407.

Properties

optional
source: "Server" | "Proxy"

Source of the authentication challenge. (AuthChallengeSource enum)

origin: string

Origin of the challenger.

scheme: string

The authentication scheme used, such as basic or digest

realm: string

The realm of the challenge. May be empty.