public FormsAuthenticationService(HttpContextBase httpContext, IBusinessPartnerService bpService, UserSettings userSettings) { this._httpContext = httpContext; this._bpService = bpService; this._userSettings = userSettings; this._expirationTimeSpan = FormsAuthentication.Timeout; }
/// <summary> /// Ctor /// </summary> /// <param name="userService">User service</param> /// <param name="encryptionService">Encryption service</param> /// <param name="newsLetterSubscriptionService">Newsletter subscription service</param> /// <param name="localizationService">Localization service</param> /// <param name="storeService">Store service</param> /// <param name="rewardPointsSettings">Reward points settings</param> /// <param name="userSettings">User settings</param> public UserRegistrationService(IBusinessPartnerService userService, IEncryptionService encryptionService, ILocalizationService localizationService, UserSettings userSettings) { this._bpService = userService; this._encryptionService = encryptionService; this._localizationService = localizationService; this._userSettings = userSettings; }
public AccountController( IWorkContext workContext, ICompanyContext companyContext, IWebHelper webHelper, IAuthenticationService authenticationService, IUserRegistrationService userRegistrationService, ILocalizationService localizationService, IDateTimeHelper dateTimeHelper, IUserService userService, IUserActivityService userActivityService, IBusinessPartnerService bpService, UserSettings userSettings, LocalizationSettings localizationSettings, CaptchaSettings captchaSettings, DateTimeSettings dateTimeSettings) { this._workContext = workContext; this._companyContext = companyContext; this._webHelper = webHelper; this._authenticationService = authenticationService; this._userRegistrationService = userRegistrationService; this._localizationService = localizationService; this._dateTimeHelper = dateTimeHelper; this._userService = userService; this._userActivityService = userActivityService; this._bpService = bpService; this._userSettings = userSettings; this._dateTimeSettings = dateTimeSettings; this._localizationSettings = localizationSettings; this._captchaSettings = captchaSettings; }