ReadonlymechanismThe method used to authenticate
ReadonlymechanismSpecial properties used by some types of auth mechanisms
ReadonlypasswordThe password used for authentication
ReadonlysourceThe database that the user should authenticate against
ReadonlyusernameThe username used for authentication
Determines if two MongoCredentials objects are equivalent
If the authentication mechanism is set to "default", resolves the authMechanism based on the server version and server supported sasl mechanisms.
A hello response from the server
Staticmerge
A representation of the credentials used by MongoDB