Table of Contents

Class MongoAWSAuthenticator

Namespace
MongoDB.Driver.Core.Authentication
Assembly
MongoDB.Driver.Core.dll

The Mongo AWS authenticator.

[Obsolete("This class will be made internal in a later release.")]
public class MongoAWSAuthenticator : SaslAuthenticator, IAuthenticator
Inheritance
MongoAWSAuthenticator
Implements
Inherited Members

Constructors

MongoAWSAuthenticator(UsernamePasswordCredential, IEnumerable<KeyValuePair<string, string>>, ServerApi)

Initializes a new instance of the MongoAWSAuthenticator class.

MongoAWSAuthenticator(string, IEnumerable<KeyValuePair<string, string>>, ServerApi)

Initializes a new instance of the MongoAWSAuthenticator class.

Properties

DatabaseName

Gets the name of the database.

MechanismName

Gets the name of the mechanism.

Methods

Authenticate(IConnection, ConnectionDescription, CancellationToken)

Authenticates the connection.

AuthenticateAsync(IConnection, ConnectionDescription, CancellationToken)

Authenticates the connection.