class Cassandra::Auth::Providers::Password
Auth
provider used for Cassandra's built in authentication.
@note No need to instantiate this class manually, use `:username` and
`:password` options when calling {Cassandra.cluster} and one will be created automatically for you.
Public Class Methods
new(username, password)
click to toggle source
Public Instance Methods
create_authenticator(authentication_class)
click to toggle source
Returns a Password
Authenticator
@param authentication_class [String] ignored @return [Cassandra::Auth::Authenticator]
# File lib/cassandra/auth/providers/password.rb 59 def create_authenticator(authentication_class) 60 Authenticator.new(@username, @password) 61 end