Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MongoCredentials

A representation of the credentials used by MongoDB

Hierarchy

  • MongoCredentials

Index

Constructors

constructor

Properties

Readonly mechanism

mechanism: AuthMechanism

The method used to authenticate

Readonly mechanismProperties

mechanismProperties: Document

Special properties used by some types of auth mechanisms

Readonly password

password: string

The password used for authentication

Readonly source

source: string

The database that the user should authenticate against

Readonly username

username: string

The username used for authentication

Methods

equals

resolveAuthMechanism

validate

  • validate(): void

Static merge

Generated using TypeDoc