1 | "use strict";
|
2 | class Config {
|
3 | }
|
4 | Config.DbConnection = "mongodb://localhost:27017/userDatabase";
|
5 | Config.basePath = "data";
|
6 | Config.apiversion = "v1";
|
7 | Config.ElasticSearchConnection = "http://localhost:9200";
|
8 | Config.ApplyElasticSearch = false;
|
9 | exports.Config = Config;
|
10 | class Security {
|
11 | }
|
12 | Security.isAutheticationEnabled = "enabledWithoutAuthorization";
|
13 | Security.authenticationType = "passwordBased";
|
14 | exports.Security = Security;
|
15 | class facebookAuth {
|
16 | }
|
17 | facebookAuth.clientID = '11';
|
18 | facebookAuth.clientSecret = 'aa';
|
19 | facebookAuth.callbackURL = 'http://localhost:23548/auth/facebook/callback';
|
20 | exports.facebookAuth = facebookAuth;
|
21 |
|
22 |
|