Class ScramSha1Authenticator
- Namespace
- MongoDB.Driver.Core.Authentication
- Assembly
- MongoDB.Driver.Core.dll
A SCRAM-SHA1 SASL authenticator.
public sealed class ScramSha1Authenticator : ScramShaAuthenticator, IAuthenticator
- Inheritance
-
ScramSha1Authenticator
- Implements
- Inherited Members
Constructors
ScramSha1Authenticator(UsernamePasswordCredential)
Initializes a new instance of the ScramSha1Authenticator class.
[Obsolete("Use the newest overload instead.")]
public ScramSha1Authenticator(UsernamePasswordCredential credential)
Parameters
credential
UsernamePasswordCredentialThe credential.
ScramSha1Authenticator(UsernamePasswordCredential, ServerApi)
Initializes a new instance of the ScramSha1Authenticator class.
public ScramSha1Authenticator(UsernamePasswordCredential credential, ServerApi serverApi)
Parameters
credential
UsernamePasswordCredentialThe credential.
serverApi
ServerApiThe server API.
Properties
MechanismName
Gets the name of the mechanism.
public static string MechanismName { get; }
Property Value
- string
The name of the mechanism.