Class MongoCredentials

A representation of the credentials used by MongoDB

Constructors

Properties

mechanism: AuthMechanism

The method used to authenticate

mechanismProperties: AuthMechanismProperties

Special properties used by some types of auth mechanisms

password: string

The password used for authentication

source: string

The database that the user should authenticate against

username: string

The username used for authentication

Methods