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确定两个MongoCredentials对象是否等效
If the authentication mechanism is set to "default", resolves the authMechanism based on the server version and server supported sasl mechanisms.如果身份验证机制设置为“默认”,则会根据服务器版本和服务器支持的sasl机制解析authMechanism。
Optional
hello: DocumentA hello response from the server来自服务器的hello响应
Static
mergeGenerated using TypeDoc
A representation of the credentials used by MongoDBMongoDB使用的凭据的表示