Click or drag to resize

IAuthenticator Interface

Represents a connection authenticator.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IAuthenticator

The IAuthenticator type exposes the following members.

Properties
  NameDescription
Public propertyName
Gets the name of the authenticator.
Top
Methods
  NameDescription
Public methodAuthenticate
Authenticates the connection.
Public methodAuthenticateAsync
Authenticates the connection.
Public methodCustomizeInitialHelloCommand
Optionally customizes hello or legacy hello command.
Top
See Also