Click or drag to resize

SaslAuthenticatorISaslMechanismInitialize Method

Initializes the mechanism.

Namespace:  MongoDB.Driver.Core.Authentication
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
SaslAuthenticatorISaslStep Initialize(
	IConnection connection,
	SaslAuthenticatorSaslConversation conversation,
	ConnectionDescription description
)

Parameters

connection
Type: MongoDB.Driver.Core.ConnectionsIConnection
The connection.
conversation
Type: MongoDB.Driver.Core.AuthenticationSaslAuthenticatorSaslConversation
The SASL conversation.
description
Type: MongoDB.Driver.Core.ConnectionsConnectionDescription
The connection description.

Return Value

Type: SaslAuthenticatorISaslStep
The initial SASL step.
See Also