public ThrottlingSettingsService( IEnumerable <RouteThrottlingConfigurationItem> routeSettings, SigninThrottlingConfiguration signinSettings) { _routeSettings = routeSettings; _signinSettings = signinSettings; }
public SigninThrottlingService( IExpiringCountersService expiringCountersService, IDistributedLocksServiceProvider distributedLocksServiceProvider, IThrottlingSettingsService throttlingSettingsService, ILogFactory logFactory, ICustomerProfileClient customerProfileClient) { _expiringCountersService = expiringCountersService; _customerProfileClient = customerProfileClient; _locksService = distributedLocksServiceProvider.Get(DistributedLockPurpose.SigninThrottling); _config = throttlingSettingsService.GetSigninSettings(); _log = logFactory.CreateLog(this); }