Class: Mongo::Auth::Aws
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Exceptions:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Base
|
|
Instance Chain:
self,
Base
|
|
Inherits: |
Mongo::Auth::Base
|
Defined in: | lib/mongo/auth/aws.rb, lib/mongo/auth/aws/conversation.rb, lib/mongo/auth/aws/credentials.rb, lib/mongo/auth/aws/credentials_cache.rb, lib/mongo/auth/aws/credentials_retriever.rb, lib/mongo/auth/aws/request.rb |
Overview
Constant Summary
-
MECHANISM =
'MONGODB-AWS'.freeze
Class Method Summary
Instance Attribute Summary
Base
- Inherited
Instance Method Summary
-
#login ⇒ BSON::Document
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/aws.rb', line 26
def login converse_2_step(connection, conversation) rescue StandardError CredentialsCache.instance.clear raise end