Method ExecuteAsync
- Namespace
- MongoDB.Driver.Authentication
- Assembly
- MongoDB.Driver.dll
ExecuteAsync(SaslConversation, byte[], CancellationToken)
Executes the SASL step and create the next step.
Task<(byte[] BytesToSendToServer, ISaslStep NextStep)> ExecuteAsync(SaslConversation conversation, byte[] bytesReceivedFromServer, CancellationToken cancellationToken)
Parameters
conversationSaslConversationThe SASL conversation.
bytesReceivedFromServerbyte[]The bytes received from server.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<(byte[] BytesToSendToServer, ISaslStep NextStep)>
The next SASL step.