Function tokenAuthenticator

  • Returns a token authenticator for the specified token

    Parameters

    • token: string | () => string

    Returns Authenticator