Module: Cassandra::Auth

Defined in:
lib/cassandra/auth.rb,
lib/cassandra/auth/providers/password.rb

Defined Under Namespace

Modules: Providers Classes: Authenticator, Provider

Instance Method Summary collapse

Instance Method Details

#create_authenticator(authentication_class, protocol_version) ⇒ Cassandra::Auth::Authenticator?

Note:

This method must absolutely not block.

Create a new authenticator object. This method will be called once per connection that requires authentication. The auth provider can create different authenticators for different authentication classes, or return nil if it does not support the authentication class.

Parameters:

  • authentication_class (String)

    the authentication class used by the server.

Returns:



# File 'lib/cassandra/auth.rb', line 37