Readonly
mechanismThe method used to authenticate
Readonly
mechanismSpecial properties used by some types of auth mechanisms
Readonly
passwordThe password used for authentication
Readonly
sourceThe database that the user should authenticate against
Readonly
usernameThe 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
Static
merge
A representation of the credentials used by MongoDB