Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MongoCredentials

A representation of the credentials used by MongoDB

Hierarchy

  • MongoCredentials

Index

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

  • validate(): void

Generated using TypeDoc