Enum MongoAuthMechanism
Describes a vibe.d supported authentication mechanism to use on client connection to a MongoDB server.
enum MongoAuthMechanism
: int { ... }
Enum members
Name | Description |
---|---|
mongoDBCR
|
Forces login through the legacy MONGODB-CR authentication mechanism. This
mechanism is a nonce and MD5 based system.
MongoDB1.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.
MongoDB2.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. MongoDB3.0– |