Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function nkeyAuthenticator
import { nkeyAuthenticator } from "https://deno.land/x/natsws@v1.28.0/src/mod.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