import { Client } from "https://deno.land/x/postgres@v0.17.1/connection/scram.ts";
Client composes and verifies SCRAM authentication messages, keeping track of authentication #state and parameters.
Methods
composeChallenge(): string
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