Module

x/postgres/connection/scram.ts>Client

PostgreSQL driver for Deno
Extremely Popular
Go to Latest
class Client
import { Client } from "https://dotland.deno.dev/x/postgres@v0.19.0/connection/scram.ts";

Client composes and verifies SCRAM authentication messages, keeping track of authentication #state and parameters.

Constructors

new
Client(
username: string,
password: string,
nonce?: string,
)

Methods

Composes client-first-message

composeResponse(): Promise<string>

Composes client-final-message

receiveChallenge(challenge: string)

Processes server-first-message

receiveResponse(response: string)

Processes server-final-message