Table of Contents

Interface IAuthenticator

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

Represents a connection authenticator.

[Obsolete("This interface will be made internal in a later release.")]
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, CancellationToken)

Optionally customizes hello or legacy hello command.