Method CustomizeInitialHelloCommand
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
CustomizeInitialHelloCommand(BsonDocument, CancellationToken)
Optionally customizes hello or legacy hello command.
public BsonDocument CustomizeInitialHelloCommand(BsonDocument helloCommand, CancellationToken cancellationToken)
Parameters
helloCommandBsonDocumentInitial command.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- BsonDocument
Optionally mutated command.