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.
Optional
hello: DocumentA hello response from the server
Static
mergeGenerated using TypeDoc
A representation of the credentials used by MongoDB