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