Table of Contents

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

conversation SaslAuthenticator.SaslConversation

The SASL conversation.

bytesReceivedFromServer byte[]

The bytes received from server.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<SaslAuthenticator.ISaslStep>

The next SASL step.