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