-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
auth-options.json
33 lines (33 loc) · 1016 Bytes
/
auth-options.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"tests": [
{
"description": "Valid auth options are parsed correctly (GSSAPI)",
"uri": "mongodb://foo:bar@example.com/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:other,CANONICALIZE_HOST_NAME:true,SERVICE_HOST:example.com&authSource=$external",
"valid": true,
"warning": false,
"hosts": null,
"auth": null,
"options": {
"authMechanism": "GSSAPI",
"authMechanismProperties": {
"SERVICE_NAME": "other",
"CANONICALIZE_HOST_NAME": true,
"SERVICE_HOST": "example.com"
},
"authSource": "$external"
}
},
{
"description": "Valid auth options are parsed correctly (SCRAM-SHA-1)",
"uri": "mongodb://foo:bar@example.com/?authMechanism=SCRAM-SHA-1&authSource=authSourceDB",
"valid": true,
"warning": false,
"hosts": null,
"auth": null,
"options": {
"authMechanism": "SCRAM-SHA-1",
"authSource": "authSourceDB"
}
}
]
}