Class: Mongo::Auth::LDAP Private

Inherits:
Base
  • Object
show all
Defined in:
build/ruby-driver-v2.19/lib/mongo/auth/ldap.rb,
build/ruby-driver-v2.19/lib/mongo/auth/ldap/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.

Defines behavior for LDAP Proxy authentication.

Since:

  • 2.0.0

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.

Since:

  • 2.0.0

'PLAIN'.freeze

Instance Attribute Summary

Attributes inherited from Base

#connection, #user

Instance Method Summary collapse

Methods inherited from Base

#conversation, #initialize

Constructor Details

This class inherits a constructor from Mongo::Auth::Base

Instance Method Details

#loginBSON::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.

Returns:

  • (BSON::Document)

    The document of the authentication response.

Since:

  • 2.0.0



35
36
37
# File 'build/ruby-driver-v2.19/lib/mongo/auth/ldap.rb', line 35

def 
  converse_1_step(connection, conversation)
end