Click or drag to resize

MongoDB.Driver.Core.Authentication Namespace

The MongoDB.Driver.Core.Authentication namespace contains classes related to authentication.
Classes
  ClassDescription
Public classAuthenticatorFactory
Represents an authenticator factory.
Public classDefaultAuthenticator
The default authenticator. If saslSupportedMechs is not present in the hello or legacy hello 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.
Public classGssapiAuthenticator
A GSSAPI SASL authenticator.
Public classGssapiException
Thrown from a GSSAPI-related method.
Public classMongoAWSAuthenticator
The Mongo AWS authenticator.
Public classMongoDBCRAuthenticator Obsolete.
A MONGODB-CR authenticator. This authenticator was replaced by ScramSha1Authenticator in MongoDB 3.0, and is now deprecated.
Public classMongoDBX509Authenticator
A MongoDB-X509 authenticator.
Public classPlainAuthenticator
A PLAIN SASL authenticator.
Public classSaslAuthenticator
Base class for a SASL authenticator.
Protected classSaslAuthenticatorCompletedStep
Represents a completed SASL step.
Protected classSaslAuthenticatorSaslConversation
Represents a SASL conversation.
Public classScramSha1Authenticator
A SCRAM-SHA1 SASL authenticator.
Public classScramSha256Authenticator
A SCRAM-SHA256 SASL authenticator.
Public classScramShaAuthenticator
A SCRAM-SHA SASL authenticator.
Public classUsernamePasswordCredential
Represents a username/password credential.
Interfaces
  InterfaceDescription
Public interfaceIAuthenticator
Represents a connection authenticator.
Public interfaceIAuthenticatorFactory
Represents an authenticator factory.
Public interfaceISecurityContext
Represents the security context being used for authentication.
Protected interfaceSaslAuthenticatorISaslMechanism
Represents a SASL mechanism.
Protected interfaceSaslAuthenticatorISaslStep
Represents a SASL step.
Delegates
  DelegateDescription
Protected delegateScramShaAuthenticatorH
An H function as defined in RFC5802.
Protected delegateScramShaAuthenticatorHi
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.
Protected delegateScramShaAuthenticatorHmac
An HMAC function as defined in RFC5802, plus the encoding of the data.