Table of Contents

Interface IAuthenticator

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

Represents a connection authenticator.

public interface IAuthenticator

Properties

Name

Gets the name of the authenticator.

Methods

Authenticate(IConnection, ConnectionDescription, CancellationToken)

Authenticates the connection.

AuthenticateAsync(IConnection, ConnectionDescription, CancellationToken)

Authenticates the connection.

CustomizeInitialHelloCommand(BsonDocument)

Optionally customizes hello or legacy hello command.