vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Enum MongoAuthMechanism

Describes a vibe.d supported authentication mechanism to use on client connection to a MongoDB server.

enum MongoAuthMechanism : int { ... }

Enum members

NameDescription
mongoDBCR Forces login through the legacy MONGODB-CR authentication mechanism. This mechanism is a nonce and MD5 based system.

MongoDB

1.4–4.0 (deprecated 3.0)

mongoDBX509 Use an X.509 certificate to authenticate. Only works if digest is set to null or empty string in the MongoClientSettings.

MongoDB

2.6–

none Use no auth mechanism. If a digest or ssl certificate is given this defaults to trying the recommend auth mechanisms depending on server version and input parameters.
scramSHA1 Use SCRAM-SHA-1 as defined in [RFC 5802](http://tools.ietf.org/html/rfc5802)

This is the default when a password is provided. In the future other scram algorithms may be implemented and selectable through these values.

MongoDB

3.0–

Authors

Sönke Ludwig

Copyright

© 2012-2016 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.