Table of Contents

Constructor MongoAWSAuthenticator

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

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

Initializes a new instance of the MongoAWSAuthenticator class.

public MongoAWSAuthenticator(UsernamePasswordCredential credential, IEnumerable<KeyValuePair<string, string>> properties, ServerApi serverApi)

Parameters

credential UsernamePasswordCredential

The credentials.

properties IEnumerable<KeyValuePair<string, string>>

The properties.

serverApi ServerApi

The server API.

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

Initializes a new instance of the MongoAWSAuthenticator class.

public MongoAWSAuthenticator(string username, IEnumerable<KeyValuePair<string, string>> properties, ServerApi serverApi)

Parameters

username string

The username.

properties IEnumerable<KeyValuePair<string, string>>

The properties.

serverApi ServerApi

The server API.