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
IConnectionThe connection.
conversation
SaslAuthenticator.SaslConversationThe SASL conversation.
description
ConnectionDescriptionThe connection description.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- SaslAuthenticator.ISaslStep
The initial SASL step.