Class: Mongo::Auth::X509 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/x509.rb, lib/mongo/auth/x509/conversation.rb |
Overview
Defines behavior for X.509 authentication.
Constant Summary
-
MECHANISM =
The authentication mechanism string.
'MONGODB-X509'.freeze
Class Method Summary
-
.new(user, connection, **opts) ⇒ X509
constructor
Internal use only
Initializes the X.509 authenticator.
Base
- Inherited
.new | Initializes the authenticator. |
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/x509.rb', line 53
def login converse_1_step(connection, conversation) end