Class: Mongo::Auth::Aws
- Defined in:
- build/ruby-driver-v2.19/lib/mongo/auth/aws.rb,
build/ruby-driver-v2.19/lib/mongo/auth/aws/request.rb,
build/ruby-driver-v2.19/lib/mongo/auth/aws/credentials.rb,
build/ruby-driver-v2.19/lib/mongo/auth/aws/conversation.rb,
build/ruby-driver-v2.19/lib/mongo/auth/aws/credentials_cache.rb,
build/ruby-driver-v2.19/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 'build/ruby-driver-v2.19/lib/mongo/auth/aws.rb', line 26 def login converse_2_step(connection, conversation) rescue StandardError CredentialsCache.instance.clear raise end |