Table of Contents

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

conversation SaslConversation

The SASL conversation.

bytesReceivedFromServer byte[]

The bytes received from server.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<(byte[] BytesToSendToServer, ISaslStep NextStep)>

The next SASL step.