Function usernamePasswordAuthenticator

  • Returns a user/pass authenticator for the specified user and optional password

    Parameters

    • user: string | (() => string)
    • Optionalpass: string | (() => string)

    Returns Authenticator