Class: Dse::Auth::Providers::Password
- Inherits:
-
Cassandra::Auth::Provider
- Object
- Cassandra::Auth::Provider
- Dse::Auth::Providers::Password
- Defined in:
- lib/dse/auth/providers/password.rb
Overview
Note:
No need to instantiate this class manually, use :username and
:password options when calling Dse.cluster and one will be
created automatically for you.
Auth provider to authenticate with username/password for DSE's built-in authentication as well as LDAP.
Instance Method Summary collapse
-
#initialize(username, password) ⇒ Password
constructor
A new instance of Password.
Constructor Details
#initialize(username, password) ⇒ Password
Returns a new instance of Password.
44 45 46 47 |
# File 'lib/dse/auth/providers/password.rb', line 44 def initialize(username, password) @username = username @password = password end |