new SaslAuthenticator(optionsopt)
Creates a new instance of SaslAuthenticator.
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
The authentication options.
Properties
|
- 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