Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2585

Remove legacy multi-auth code (__all_credentials)

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1
    • Affects Version/s: None
    • Component/s: None
    • None

      In PYTHON-1314 we removed multi-auth (removed db.authenticate/db.logout) but to cut scope we did not remove all of the legacy multi-auth internals from the client/pool/connection. The following cleanup is still possible:

      • Remove MongoClient._all_credentials (possible replace it with MongoClient._credentials if need be).
      • Pass the credentials to the Pool class at construction time (via PoolOptions) instead of passing __all_credentials around to every operation.
      • Simplify SocketInfo.check_auth now that a single credential can be configured.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: