Class MongoDBX509Authenticator
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
A MongoDB-X509 authenticator.
public sealed class MongoDBX509Authenticator : IAuthenticator
- Inheritance
-
MongoDBX509Authenticator
- Implements
- Inherited Members
Constructors
- MongoDBX509Authenticator(string)
Initializes a new instance of the MongoDBX509Authenticator class.
- MongoDBX509Authenticator(string, ServerApi)
Initializes a new instance of the MongoDBX509Authenticator class.
Properties
- MechanismName
Gets the name of the mechanism.
- Name
Gets the name of the authenticator.
Methods
- Authenticate(IConnection, ConnectionDescription, CancellationToken)
Authenticates the connection.
- AuthenticateAsync(IConnection, ConnectionDescription, CancellationToken)
Authenticates the connection.
- CustomizeInitialHelloCommand(BsonDocument, CancellationToken)
Optionally customizes hello or legacy hello command.