Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function nkeyAuthenticator
import { nkeyAuthenticator } from "https://deno.land/x/natsws@v1.29.2/src/nats-base-client.ts";

Returns an Authenticator that returns a NKeyAuth based that uses the specified seed or function returning a seed.

Parameters

optional
seed: Uint8Array | (() => Uint8Array)
  • the nkey seed