# Functions

ConductSaslConversation handles running a sasl conversation with MongoDB.
CreateAuthenticator creates an authenticator.
Handshaker creates a connection handshaker for the given authenticator.
RegisterAuthenticatorFactory registers the authenticator factory.

# Constants

GSSAPI is the mechanism name for GSSAPI.
MONGODBCR is the mechanism name for MONGODB-CR.
MongoDBX509 is the mechanism name for MongoDBX509.
PLAIN is the mechanism name for PLAIN.
SCRAMSHA1 is the mechanism name for SCRAM-SHA-1.

# Structs

Cred is a user's credential.
DefaultAuthenticator uses SCRAM-SHA-1 or MONGODB-CR depending on the server version.
Error is an error that occurred during authentication.
MongoDBCRAuthenticator uses the MONGODB-CR algorithm to authenticate a connection.
MongoDBX509Authenticator uses X.509 certificates over TLS to authenticate a connection.
PlainAuthenticator uses the PLAIN algorithm over SASL to authenticate a connection.
ScramSHA1Authenticator uses the SCRAM-SHA-1 algorithm over SASL to authenticate a connection.

# Interfaces

Authenticator handles authenticating a connection.
SaslClient is the client piece of a sasl conversation.
SaslClientCloser is a SaslClient that has resources to clean up.

# Type aliases

AuthenticatorFactory constructs an authenticator.