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
helloCommand
BsonDocumentInitial command.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- BsonDocument
Optionally mutated command.