Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
class BasicCredentials
import { BasicCredentials } from "https://deno.land/x/authlete_deno@v1.2.10/src/web/basic_credentials.ts";

Credentials in Basic authentication.

Constructors

new
BasicCredentials(userId?: string, password?: string)

The constructor with the credentials.

Properties

optional
password: string

The password of a user.

optional
userId: string

The ID of a user.

Static Methods

parse(input: string | null): BasicCredentials | null

Parse Authorization header for Basic authentication.