Skip to main content
Module

x/authlete_deno/mod.ts>BasicCredentials

Authlete Library for Deno
Latest
class BasicCredentials
Re-export
import { BasicCredentials } from "https://deno.land/x/authlete_deno@v1.2.10/mod.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.