[MONGODB] Fixes possible authMechanism values

This commit is contained in:
Yves Kaufmann
2018-11-23 21:33:48 +01:00
parent 2547248db2
commit 4e31c72dfd
+2 -2
View File
@@ -283,9 +283,9 @@ export interface MongoClientOptions extends
useNewUrlParser?: boolean;
/**
* Mechanism for authentication: MDEFAULT, GSSAPI, PLAIN, MONGODB-X509, or SCRAM-SHA-1
* Mechanism for authentication: DEFAULT, GSSAPI, PLAIN, MONGODB-X509, 'MONGODB-CR', SCRAM-SHA-1 or SCRAM-SHA-256
*/
authMechanism?: 'MDEFAULT' | 'GSSAPI' | 'PLAIN' | 'MONGODB-X509' | 'SCRAM-SHA-1' | string;
authMechanism?: 'DEFAULT' | 'GSSAPI' | 'PLAIN' | 'MONGODB-X509' | 'MONGODB-CR' | 'SCRAM-SHA-1' | 'SCRAM-SHA-256' | string;
}
export interface SSLOptions {