Table of Contents

Constructor SaslAuthenticator

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

SaslAuthenticator(ISaslMechanism)

Initializes a new instance of the SaslAuthenticator class.

[Obsolete("Use the newest overload instead.")]
protected SaslAuthenticator(SaslAuthenticator.ISaslMechanism mechanism)

Parameters

mechanism SaslAuthenticator.ISaslMechanism

The mechanism.

SaslAuthenticator(ISaslMechanism, ServerApi)

Initializes a new instance of the SaslAuthenticator class.

protected SaslAuthenticator(SaslAuthenticator.ISaslMechanism mechanism, ServerApi serverApi)

Parameters

mechanism SaslAuthenticator.ISaslMechanism

The mechanism.

serverApi ServerApi

The server API.