Constructor MongoDBX509Authenticator
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
MongoDBX509Authenticator(string)
Initializes a new instance of the MongoDBX509Authenticator class.
[Obsolete("Use the newest overload instead.")]
public MongoDBX509Authenticator(string username)
Parameters
username
stringThe username.
MongoDBX509Authenticator(string, ServerApi)
Initializes a new instance of the MongoDBX509Authenticator class.
public MongoDBX509Authenticator(string username, ServerApi serverApi)