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

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.BasicAuth

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.BasicAuth
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { BasicAuth } = Deno;

Basic authentication credentials to be used with a Deno.Proxy server when specifying Deno.CreateHttpClientOptions.

Properties

username: string

The username to be used against the proxy server.

password: string

The password to be used against the proxy server.