...
1{
2 "tests": [
3 {
4 "description": "Valid auth options are parsed correctly (GSSAPI)",
5 "uri": "mongodb://foo:bar@example.com/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true&authSource=$external",
6 "valid": true,
7 "warning": false,
8 "hosts": null,
9 "auth": null,
10 "options": {
11 "authMechanism": "GSSAPI",
12 "authMechanismProperties": {
13 "SERVICE_NAME": "other",
14 "CANONICALIZE_HOST_NAME": true
15 },
16 "authSource": "$external"
17 }
18 },
19 {
20 "description": "Valid auth options are parsed correctly (SCRAM-SHA-1)",
21 "uri": "mongodb://foo:bar@example.com/?authMechanism=SCRAM-SHA-1&authSource=authSourceDB",
22 "valid": true,
23 "warning": false,
24 "hosts": null,
25 "auth": null,
26 "options": {
27 "authMechanism": "SCRAM-SHA-1",
28 "authSource": "authSourceDB"
29 }
30 }
31 ]
32}
View as plain text