UNPKG

839 BPlain TextView Raw
1export 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
10export class Security {
11 public static isAutheticationEnabled = "enabledWithoutAuthorization";//allowed values: "disabled","enabledWithoutAuthorization","enabledWithAuthorization"
12 public static authenticationType = "passwordBased";//allowed values: "passwordBased","TokenBased"
13}
14
15export class facebookAuth {
16 public static clientID = '11';// your App ID
17 public static clientSecret = 'aa';// your App Secret
18 public static callbackURL = 'http://localhost:23548/auth/facebook/callback';
19}