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.ISaslMechanismThe mechanism.
SaslAuthenticator(ISaslMechanism, ServerApi)
Initializes a new instance of the SaslAuthenticator class.
protected SaslAuthenticator(SaslAuthenticator.ISaslMechanism mechanism, ServerApi serverApi)
Parameters
mechanism
SaslAuthenticator.ISaslMechanismThe mechanism.
serverApi
ServerApiThe server API.