Constructor
new Authenticator()
Methods
evaluateChallenge(challenge, callback)
Evaluates a challenge received from the Server. Generally, this method should callback with
no error and no additional params when authentication is complete from the client perspective.
Parameters:
Name | Type | Description |
---|---|---|
challenge |
Buffer | |
callback |
function |
initialResponse(callback)
Obtain an initial response token for initializing the SASL handshake.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function |
onAuthenticationSuccess(tokenopt)
Called when authentication is successful with the last information
optionally sent by the server.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
token |
Buffer |
<optional> |