Xandra v0.7.2 Xandra.Authenticator.Password

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

Example

authenticator_options = [username: “xandra”, password: “secret”] Xandra.start_link(authentication: {Xandra.Authenticator.Password, authenticator_options})

Summary

Functions

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

Functions

response_body(options)

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

Callback implementation for Xandra.Authenticator.response_body/1.