Skip to content

Commit 1de57d1

Browse files
committed
exports Credentials classes
1 parent 3af4ad5 commit 1de57d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import filtersConsts from "./filters/consts.js";
1414
import cluster from "./cluster/index.js";
1515
import clusterConsts from "./cluster/consts.js";
1616
import replicationConsts from "./data/replication/consts.js";
17+
import { AuthAccessTokenCredentials, AuthUserPasswordCredentials } from "./connection/auth.js";
1718

1819
require('babel-polyfill')
1920

@@ -68,4 +69,8 @@ function initDbVersionProvider(conn) {
6869
}
6970

7071
export default app;
72+
export { AuthUserPasswordCredentials, AuthAccessTokenCredentials };
7173
module.exports = app;
74+
module.exports.AuthUserPasswordCredentials = AuthUserPasswordCredentials;
75+
module.exports.AuthAccessTokenCredentials = AuthAccessTokenCredentials;
76+

0 commit comments

Comments
 (0)