Xandra v0.11.0 Xandra.Authenticator.Password View Source

A Xandra.Authenticator that implements support for PasswordAuthenticator to authenticate with Cassandra server.

Example

options = [username: "xandra", password: "secret"]

Xandra.start_link(authentication: {Xandra.Authenticator.Password, options})

Link to this section Summary

Functions

Returns an iodata that's used as the response body to Cassandra's auth challenge.

Link to this section Functions

Returns an iodata that's used as the response body to Cassandra's auth challenge.

Callback implementation for Xandra.Authenticator.response_body/1.