mongodb/mongo-php-driver — pull request #319 by bjori (2013-03-08 02:48:20+00:00)
Title: Fixed PHP-665: Add support for Auth Specification

Implemented support for surrogate users, defined in a seperate database
then currently using.

Also fixed a memory leak when switching between databases with
credentials.

Added support for the authSource connection string option, as well as
future compatability support for authMechanism.