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

x/authlete_deno/mod.ts>BasicCredentials

Authlete Library for Deno
Go to Latest
class BasicCredentials
Re-export
import { BasicCredentials } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Credentials in Basic authentication.

Constructors

new
BasicCredentials(userId: string | null, password: string | null)

The constructor with the credentials.

Properties

password: string | null

The password of a user.

userId: string | null

The ID of a user.

Static Methods

parse(input: string | null)

Parse Authorization header for Basic authentication.