UNPKG

828 BJavaScriptView Raw
1"use strict";
2class Config {
3}
4Config.DbConnection = "mongodb://localhost:27017/userDatabase";
5Config.basePath = "data";
6Config.apiversion = "v1";
7Config.ElasticSearchConnection = "http://localhost:9200";
8Config.ApplyElasticSearch = false;
9exports.Config = Config;
10class Security {
11}
12Security.isAutheticationEnabled = "enabledWithoutAuthorization"; //allowed values: "disabled","enabledWithoutAuthorization","enabledWithAuthorization"
13Security.authenticationType = "passwordBased"; //allowed values: "passwordBased","TokenBased"
14exports.Security = Security;
15class facebookAuth {
16}
17facebookAuth.clientID = '11'; // your App ID
18facebookAuth.clientSecret = 'aa'; // your App Secret
19facebookAuth.callbackURL = 'http://localhost:23548/auth/facebook/callback';
20exports.facebookAuth = facebookAuth;
21
22//# sourceMappingURL=config.js.map