Method AuthenticateAsync
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
AuthenticateAsync(IConnection, ConnectionDescription, CancellationToken)
Authenticates the connection.
public override Task AuthenticateAsync(IConnection connection, ConnectionDescription description, CancellationToken cancellationToken)
Parameters
connectionIConnectionThe connection.
descriptionConnectionDescriptionThe connection description.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task
A Task.