Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function usernamePasswordAuthenticator
import { usernamePasswordAuthenticator } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Returns a user/pass authenticator for the specified user and optional password

Parameters

user: string | (() => string)
optional
pass: string | (() => string)