Class: PlainTextSaslAuthenticator

PlainTextSaslAuthenticator(username, password, authzidopt)

new PlainTextSaslAuthenticator(username, password, authzidopt)

Creates a new instance of PlainTextSaslAuthenticator.
Parameters:
Name Type Attributes Description
username string Username to log into the server.
password string Password for the user.
authzid string <optional>
Optional id
Source:

Methods

evaluateChallenge(challenge) → {Object}

Evaluates the challenge from the server and returns appropriate response.
Parameters:
Name Type Description
challenge String Challenge string presented by the server.
Source:
Returns:
A Promise that resolves to a valid sasl response object.
Type
Object