MongoClientSettings.authenticatePassword

void authenticatePassword(string username, string password) @safe

Sets the username and the digest string in this MongoClientSettings instance.