123456789_123456789_123456789_123456789_123456789_

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

Since:

  • 2.0.0

Constant Summary

Class Method Summary

Base - Inherited

.new

Initializes the authenticator.

Instance Attribute Summary

Base - Inherited

Instance Method Summary

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

#loginBSON::Document

Log the user in on the current connection.

Returns:

  • (BSON::Document)

    The document of the authentication response.

Since:

  • 2.0.0

[ GitHub ]

  
# File 'lib/mongo/auth/aws.rb', line 26

def 
  converse_2_step(connection, conversation)
rescue StandardError
  CredentialsCache.instance.clear
  raise
end