Class PlainAuthenticator
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
A PLAIN SASL authenticator.
[Obsolete("This class will be made internal in a later release.")]
public sealed class PlainAuthenticator : SaslAuthenticator, IAuthenticator
- Inheritance
-
PlainAuthenticator
- Implements
- Inherited Members
Constructors
- PlainAuthenticator(UsernamePasswordCredential)
Initializes a new instance of the PlainAuthenticator class.
- PlainAuthenticator(UsernamePasswordCredential, ServerApi)
Initializes a new instance of the PlainAuthenticator class.
Properties
- DatabaseName
Gets the name of the database.
- MechanismName
Gets the name of the mechanism.