Table of Contents

Method Initialize

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

Initialize(IConnection, SaslConversation, ConnectionDescription, CancellationToken)

Initializes the mechanism.

SaslAuthenticator.ISaslStep Initialize(IConnection connection, SaslAuthenticator.SaslConversation conversation, ConnectionDescription description, CancellationToken cancellationToken)

Parameters

connection IConnection

The connection.

conversation SaslAuthenticator.SaslConversation

The SASL conversation.

description ConnectionDescription

The connection description.

cancellationToken CancellationToken

The cancellation token.

Returns

SaslAuthenticator.ISaslStep

The initial SASL step.