Exemple #1
0
 public AppModule(DILifetimeType dILifetimeType) : base(dILifetimeType)
 {
     _securityKey            = ConfigurationManager.AppSettings[ConfigKeyConstants.AuthSecretKey];
     _accessTokenExpireMins  = Int32.Parse(ConfigurationManager.AppSettings[ConfigKeyConstants.AccessTokenExpire]);
     _refreshTokenExpireDays = Int32.Parse(ConfigurationManager.AppSettings[ConfigKeyConstants.RefreshTokenExpire]);
     _hashingComplexity      = Int32.Parse(ConfigurationManager.AppSettings[ConfigKeyConstants.HashingComplexity]);
 }
Exemple #2
0
 public CoreModule(DILifetimeType DILifetimeType)
 {
     LifetimeType = DILifetimeType;
 }
Exemple #3
0
 public DataModule(
     DILifetimeType dILifetimeType,
     string connectionString) : base(dILifetimeType)
 {
     _connectionString = connectionString;
 }