Uploaded image for project: 'Node Driver'
  1. Node Driver
  2. NODE-1442

Refactor Auth to exclusively use a MongoCredential object

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.7
    • Fix Version/s: 3.2.0
    • Component/s: core, native
    • Labels:

      Description

      According to the auth spec, we should be using an object called MongoCredentials to pass around all of our auth configuration. Right now, we have a variety of ways we pass around credentials, including:

      • Sticking things together in an anonymous auth object
      • Sticking things in an auth array
      • Just passing fields around individually

      By switching to tracking credentials in a single way, it would simplify a lot of code.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: