-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 3.0.7
-
None
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.