Table of Contents

Class ScramShaAuthenticator

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

A SCRAM-SHA SASL authenticator.

[Obsolete("This class will be made internal in a later release.")]
public abstract class ScramShaAuthenticator : SaslAuthenticator, IAuthenticator
Inheritance
ScramShaAuthenticator
Implements
Derived
Inherited Members

Constructors

ScramShaAuthenticator(UsernamePasswordCredential, HashAlgorithmName, H, Hi, Hmac)

Initializes a new instance of the ScramShaAuthenticator class.

ScramShaAuthenticator(UsernamePasswordCredential, HashAlgorithmName, H, Hi, Hmac, ServerApi)

Initializes a new instance of the ScramShaAuthenticator class.

Properties

DatabaseName

Gets the name of the database.

Methods

CustomizeInitialHelloCommand(BsonDocument, CancellationToken)

Optionally customizes hello or legacy hello command.