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]); }
public CoreModule(DILifetimeType DILifetimeType) { LifetimeType = DILifetimeType; }
public DataModule( DILifetimeType dILifetimeType, string connectionString) : base(dILifetimeType) { _connectionString = connectionString; }