Class: Mongo::Auth::CR Deprecated Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Base
|
|
Instance Chain:
self,
Base
|
|
Inherits: |
Mongo::Auth::Base
|
Defined in: | lib/mongo/auth/cr.rb, lib/mongo/auth/cr/conversation.rb |
Overview
Deprecated.
MONGODB-CR authentication mechanism is deprecated as of MongoDB 3.6. Support for it in the Ruby driver will be removed in driver version 3.0. Please use SCRAM instead.
Defines behavior for MongoDB-CR authentication.
Constant Summary
-
MECHANISM =
The authentication mechanism string.
'MONGODB-CR'.freeze
Class Method Summary
Instance Attribute Summary
Base
- Inherited
Instance Method Summary
-
#login ⇒ BSON::Document
Internal use only
Log the user in on the current connection.
Base
- Inherited
#conversation, | |
#converse_1_step | Performs a single-step conversation on the given connection. |
#converse_2_step | Performs a two-step conversation on the given connection. |
#converse_multi_step | Performs the variable-length SASL conversation on the given connection. |
#dispatch_msg, | |
#validate_reply! | Checks whether reply is successful (i.e. |
Instance Method Details
#login ⇒ BSON::Document
Log the user in on the current connection.
# File 'lib/mongo/auth/cr.rb', line 38
def login converse_2_step(connection, conversation) end