Table of Contents

Class SaslAuthenticator.CompletedStep

Namespace
MongoDB.Driver.Core.Authentication
Assembly
MongoDB.Driver.Core.dll

Represents a completed SASL step.

protected class SaslAuthenticator.CompletedStep : SaslAuthenticator.ISaslStep
Inheritance
SaslAuthenticator.CompletedStep
Implements
Inherited Members

Constructors

CompletedStep()

Initializes a new instance of the SaslAuthenticator.CompletedStep class.

public CompletedStep()

CompletedStep(byte[])

Initializes a new instance of the SaslAuthenticator.CompletedStep class.

public CompletedStep(byte[] bytesToSendToServer)

Parameters

bytesToSendToServer byte[]

The bytes to send to server.

Properties

BytesToSendToServer

Gets the bytes to send to server.

public byte[] BytesToSendToServer { get; }

Property Value

byte[]

The bytes to send to server.

IsComplete

Gets a value indicating whether this instance is complete.

public bool IsComplete { get; }

Property Value

bool

true if this instance is complete; otherwise, false.

Methods

Transition(SaslConversation, byte[])

Transitions the SASL conversation to the next step.

public SaslAuthenticator.ISaslStep Transition(SaslAuthenticator.SaslConversation conversation, byte[] bytesReceivedFromServer)

Parameters

conversation SaslAuthenticator.SaslConversation

The SASL conversation.

bytesReceivedFromServer byte[]

The bytes received from server.

Returns

SaslAuthenticator.ISaslStep

The next SASL step.