credsAuthenticator
import { credsAuthenticator } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
Returns an Authenticator function that returns a JwtAuth. This is a convenience Authenticator that parses the specified creds and delegates to the jwtAuthenticator.
§
credsAuthenticator(creds: Uint8Array | (() => Uint8Array)): Authenticator
[src]