class Mongo::Auth::CR
Defines behavior for MongoDB-CR authentication.
@since 2.0.0 @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.
@api private
Constants
- MECHANISM
-
The authentication mechanism string.
@since 2.0.0
Public Instance Methods
Source
# File lib/mongo/auth/cr.rb, line 35 def login converse_2_step(connection, conversation) end
Log the user in on the current connection.
@return [ BSON::Document ] The document of the authentication response.