MongoDB.Driver.Core.Authentication Namespace |
| Class | Description | |
|---|---|---|
| DefaultAuthenticator |
The default authenticator.
If saslSupportedMechs is not present in the isMaster results for mechanism negotiation
uses SCRAM-SHA-1 when talking to servers >= 3.0. Prior to server 3.0, uses MONGODB-CR.
Else, uses SCRAM-SHA-256 if present in the list of mechanisms. Otherwise, uses
SCRAM-SHA-1 the default, regardless of whether SCRAM-SHA-1 is in the list.
| |
| GssapiAuthenticator |
A GSSAPI SASL authenticator.
| |
| MongoDBCRAuthenticator | Obsolete.
A MONGODB-CR authenticator.
This authenticator was replaced by ScramSha1Authenticator in MongoDB 3.0, and is now deprecated.
| |
| MongoDBX509Authenticator |
A MongoDB-X509 authenticator.
| |
| PlainAuthenticator |
A PLAIN SASL authenticator.
| |
| SaslAuthenticator |
Base class for a SASL authenticator.
| |
| SaslAuthenticatorCompletedStep |
Represents a completed SASL step.
| |
| SaslAuthenticatorSaslConversation |
Represents a SASL conversation.
| |
| ScramSha1Authenticator |
A SCRAM-SHA1 SASL authenticator.
| |
| ScramSha256Authenticator |
A SCRAM-SHA256 SASL authenticator.
In .NET Standard, this class does not normalize the password in the credentials, so non-ASCII
passwords may not work unless they are normalized into Unicode Normalization Form KC beforehand.
| |
| ScramShaAuthenticator |
A SCRAM-SHA SASL authenticator.
| |
| UsernamePasswordCredential |
Represents a username/password credential.
|
| Interface | Description | |
|---|---|---|
| IAuthenticator |
Represents a connection authenticator.
| |
| SaslAuthenticatorISaslMechanism |
Represents a SASL mechanism.
| |
| SaslAuthenticatorISaslStep |
Represents a SASL step.
|
| Delegate | Description | |
|---|---|---|
| ScramShaAuthenticatorH |
An H function as defined in RFC5802.
| |
| ScramShaAuthenticatorHi |
A Hi function used to compute the SaltedPassword as defined in RFC5802, except with "str" parameter replaced
with a UsernamePassword credential so that the password can be optionally digested/prepped in a secure fashion
before being consumed as the "str" parameter would be in RFC5802's Hi.
| |
| ScramShaAuthenticatorHmac |
An HMAC function as defined in RFC5802, plus the encoding of the data.
|