@nats-io/nats-core
    Preparing search index...

    Function tokenAuthenticator

    • Returns a token authenticator for the specified token

      Parameters

      • token: string | (() => string)

      Returns Authenticator