Class: Mongo::Auth::Aws
- Defined in:
- lib/mongo/auth/aws.rb,
lib/mongo/auth/aws/request.rb,
lib/mongo/auth/aws/credentials.rb,
lib/mongo/auth/aws/conversation.rb,
lib/mongo/auth/aws/credentials_cache.rb,
lib/mongo/auth/aws/credentials_retriever.rb
Overview
Defined Under Namespace
Classes: Conversation, Credentials, CredentialsCache, CredentialsNotFound, CredentialsRetriever, Request
Constant Summary collapse
- MECHANISM =
'MONGODB-AWS'.freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#login ⇒ BSON::Document
Log the user in on the current connection.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mongo::Auth::Base
Instance Method Details
#login ⇒ BSON::Document
Log the user in on the current connection.
26 27 28 29 30 31 |
# File 'lib/mongo/auth/aws.rb', line 26 def login converse_2_step(connection, conversation) rescue StandardError CredentialsCache.instance.clear raise end |