Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.0/cli/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.