Class: SaslAuthenticator

SaslAuthenticator(optionsopt)

new SaslAuthenticator(optionsopt)

Creates a new instance of SaslAuthenticator.
Parameters:
Name Type Attributes Description
options Object <optional>
The authentication options.
Properties
Name Type Attributes Description
mechanism Object <optional>
The mechanism to be used for authentication.
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