Class: Mongo::Auth::CR Deprecated Private
- Defined in:
- lib/mongo/auth/cr.rb,
lib/mongo/auth/cr/conversation.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
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.
Defined Under Namespace
Classes: Conversation
Constant Summary collapse
- MECHANISM =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The authentication mechanism string.
'MONGODB-CR'.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#login ⇒ BSON::Document
private
Log the user in on the current connection.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mongo::Auth::Base
Instance Method Details
#login ⇒ BSON::Document
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Log the user in on the current connection.
38 39 40 |
# File 'lib/mongo/auth/cr.rb', line 38 def login converse_2_step(connection, conversation) end |