mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
[MONGODB] Fixes possible authMechanism values
This commit is contained in:
Vendored
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user