Table of Contents

Class PlainAuthenticator

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

A PLAIN SASL authenticator.

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.