Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MongoAuthenticationOptions

Options configuring Mongo authentication.

Hierarchy

  • MongoAuthenticationOptions

Index

Constructors

constructor

Methods

getCollectionName

  • getCollectionName(): string
  • The property name to be used to set the name of the collection inside the config.

    Returns string

getPasswordCredentialField

  • getPasswordCredentialField(): string
  • Returns string

getPasswordField

  • getPasswordField(): string
  • The property name to be used to set the name of the field, where the password is stored inside

    Returns string

getUsernameCredentialField

  • getUsernameCredentialField(): string
  • The property name to be used to set the name of the field, where the username for the credentials is stored inside.

    Returns string

getUsernameField

  • getUsernameField(): string
  • The property name to be used to set the name of the field, where the username is stored inside.

    Returns string

setCollectionName

  • The property name to be used to set the name of the collection inside the config.

    Parameters

    • collectionName: string

    Returns MongoAuthenticationOptions

setPasswordCredentialField

  • Parameters

    • passwordCredentialField: string

    Returns MongoAuthenticationOptions

setPasswordField

  • The property name to be used to set the name of the field, where the password is stored inside

    Parameters

    • passwordField: string

    Returns MongoAuthenticationOptions

setUsernameCredentialField

  • The property name to be used to set the name of the field, where the username for the credentials is stored inside.

    Parameters

    • usernameCredentialField: string

    Returns MongoAuthenticationOptions

setUsernameField

  • The property name to be used to set the name of the field, where the username is stored inside.

    Parameters

    • usernameField: string

    Returns MongoAuthenticationOptions

Generated using TypeDoc