Method TransitionAsync
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
TransitionAsync(SaslConversation, byte[], CancellationToken)
Transitions the SASL conversation to the next step.
public Task<SaslAuthenticator.ISaslStep> TransitionAsync(SaslAuthenticator.SaslConversation conversation, byte[] bytesReceivedFromServer, CancellationToken cancellationToken)
Parameters
conversationSaslAuthenticator.SaslConversationThe SASL conversation.
bytesReceivedFromServerbyte[]The bytes received from server.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<SaslAuthenticator.ISaslStep>
The next SASL step.