class Cassandra::Auth::Providers::Password::Authenticator
Authenticator
used for Cassandra's built in authentication, see {Cassandra::Auth::Providers::Password} @private
Public Class Methods
new(username, password)
click to toggle source
@private
# File lib/cassandra/auth/providers/password.rb 33 def initialize(username, password) 34 @username = username 35 @password = password 36 end
Public Instance Methods
authentication_successful(token)
click to toggle source
# File lib/cassandra/auth/providers/password.rb 45 def authentication_successful(token) 46 end
challenge_response(token)
click to toggle source
# File lib/cassandra/auth/providers/password.rb 42 def challenge_response(token) 43 end
initial_response()
click to toggle source
# File lib/cassandra/auth/providers/password.rb 38 def initial_response 39 "\x00#{@username}\x00#{@password}" 40 end