class Authenticator
Handles SASL authentication with Cassandra servers. Each time a new connection is created and the server requires authentication, a new instance of this class will be created by the corresponding.
Constructor
new
Authenticator
()Methods
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.
initialResponse
(function
callback)
Obtain an initial response token for initializing the SASL handshake.
onAuthenticationSuccess
([Buffer
token])
Called when authentication is successful with the last information optionally sent by the server.