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

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

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

UNSTABLE: New API, yet to be vetted.

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.