saslSupportedMechs property
An array of SASL mechanisms used to create the user's credential or credentials. Supported SASL mechanisms are:
- GSSAPI
- SCRAM-SHA-256
- SCRAM-SHA-1
The field is returned only when the command is run with the saslSupportedMechs field:
db.runCommand( { hello: 1, saslSupportedMechs: "<db.username>" } )
Implementation
List<String>? saslSupportedMechs;