Function MongoClientSettings.makeDigest
Generates a digest string which can be used for authentication by setting the username and digest members.
static string makeDigest
(
string username,
string password
) pure @safe;
Use authenticate to automatically configure username and digest.