Class: Mongo::Auth::Gssapi Private

Inherits:
Base
  • Object
show all
Defined in:
lib/mongo/auth/gssapi.rb,
lib/mongo/auth/gssapi/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 Kerberos 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

'GSSAPI'.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



34
35
36
# File 'lib/mongo/auth/gssapi.rb', line 34

def 
  converse_multi_step(connection, conversation)
end