File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export const AuthMechanism = Object.freeze({
11
11
} as const ) ;
12
12
13
13
/** @public */
14
- export const $EXTERNAL_AUTH_SOURCE_MECHANISMS = new Set < string | undefined > ( [
14
+ export const $EXTERNAL_AUTH_SOURCE_MECHANISMS = new Set < AuthMechanism | undefined > ( [
15
15
AuthMechanism . MONGODB_GSSAPI ,
16
16
AuthMechanism . MONGODB_AWS ,
17
17
AuthMechanism . MONGODB_X509
Original file line number Diff line number Diff line change @@ -3,11 +3,8 @@ import * as dns from 'dns';
3
3
import * as sinon from 'sinon' ;
4
4
import { promisify } from 'util' ;
5
5
6
- import {
7
- $EXTERNAL_AUTH_SOURCE_MECHANISMS ,
8
- AuthMechanism
9
- } from '../../src/cmap/auth/defaultAuthProviders' ;
10
6
import { MongoCredentials } from '../../src/cmap/auth/mongo_credentials' ;
7
+ import { $EXTERNAL_AUTH_SOURCE_MECHANISMS , AuthMechanism } from '../../src/cmap/auth/providers' ;
11
8
import { resolveSRVRecord } from '../../src/connection_string' ;
12
9
13
10
const resolveSRVRecordAsync = promisify ( resolveSRVRecord ) ;
You can’t perform that action at this time.
0 commit comments