public AccountController(IOAuthWebSecurityWrapper oAuthWebSecurityWrapper, IAccountRepository accountRepository, IFormsAuthenticationWrapper formsAuthenticationWrapper) { _oAuthWebSecurityWrapper = oAuthWebSecurityWrapper; _accountRepository = accountRepository; _formsAuthenticationWrapper = formsAuthenticationWrapper; }
/// <summary> /// Initializes a new instance of the <see cref="AccountController"/> class. /// </summary> //public AccountController() // : this(new MembershipWrapper(), new FormsAuthenticationWrapper(), null) //{ //} /// <summary> /// Initializes a new instance of the <see cref="AccountController"/> class. /// </summary> /// <param name="membershipObject">The membership object.</param> /// <param name="formsAuthenticationObject">The forms authentication object.</param> /// <param name="urlHelper">The URL helper.</param> public AccountController(IMembershipWrapper membershipObject, IFormsAuthenticationWrapper formsAuthenticationObject, IUrlHelperWrapper urlHelper, IUserProfileService userProfileService, IForgetPasswordRequestService forgetPasswordRequestService, ISettingService settingService) { this.membership = membershipObject; this.Url = urlHelper; this.authentication = formsAuthenticationObject; this._forgetPasswordRequestService = forgetPasswordRequestService; this._settingService = settingService; this._userProfileService = userProfileService; }
/// <summary> /// Initializes a new instance of the <see cref="AccountController"/> class. /// </summary> //public AccountController() // : this(new MembershipWrapper(), new FormsAuthenticationWrapper(), null) //{ //} /// <summary> /// Initializes a new instance of the <see cref="AccountController"/> class. /// </summary> /// <param name="membershipObject">The membership object.</param> /// <param name="formsAuthenticationObject">The forms authentication object.</param> /// <param name="urlHelper">The URL helper.</param> public AccountController(IMembershipWrapper membershipObject, IFormsAuthenticationWrapper formsAuthenticationObject, IUrlHelperWrapper urlHelper, IUserProfileService userProfileService, IForgetPasswordRequestService forgetPasswordRequestService, ISettingService settingService) { this.membership = membershipObject; this.Url = urlHelper; this.authentication = formsAuthenticationObject; this._forgetPasswordRequestService = forgetPasswordRequestService; this._settingService = settingService; this._userProfileService = userProfileService; }
public UserService(IUserRepository userRepository, IRoleRepository roleRepository, IProfileRepository profileRepository, IFormsAuthenticationWrapper formsAuthWrapper, ISettingsManager settingsManager, IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, ISecurityLogService securityLogService, ITextParsingService textParsingService, IBanRepository banRepository, IForgotPasswordMailer forgotPasswordMailer, IImageService imageService) { _userRepository = userRepository; _roleRepository = roleRepository; _profileRepository = profileRepository; _formsAuthWrapper = formsAuthWrapper; _settingsManager = settingsManager; _userAvatarRepository = userAvatarRepository; _userImageRepository = userImageRepository; _securityLogService = securityLogService; _textParsingService = textParsingService; _banRepository = banRepository; _forgotPasswordMailer = forgotPasswordMailer; _imageService = imageService; }
public UserService(IUserRepository userRepository, IRoleRepository roleRepository, IProfileRepository profileRepository, IFormsAuthenticationWrapper formsAuthWrapper, ISettingsManager settingsManager, IUserAvatarRepository userAvatarRepository, IUserImageRepository userImageRepository, ISecurityLogService securityLogService, ITextParsingService textParsingService, IBanRepository banRepository, IForgotPasswordMailer forgotPasswordMailer, IImageService imageService) { _userRepository = userRepository; _roleRepository = roleRepository; _profileRepository = profileRepository; _formsAuthWrapper = formsAuthWrapper; _settingsManager = settingsManager; _userAvatarRepository = userAvatarRepository; _userImageRepository = userImageRepository; _securityLogService = securityLogService; _textParsingService = textParsingService; _banRepository = banRepository; _forgotPasswordMailer = forgotPasswordMailer; _imageService = imageService; }
public AccountController(ITweetHarborDbContext database, ITweetHarborTwitterService twitter, IFormsAuthenticationWrapper Authentication) { this.database = database; this.twitter = twitter; this.authentication = Authentication; }
Dictionary <string, IOAuthSignInClient> clients;// = new Dictionary<string, IOAuthSignInClient>(); public AccountController(ITweetHarborDbContext database, ITweetHarborTwitterService twitter, IFormsAuthenticationWrapper Authentication) { this.database = database; this.twitter = twitter; this.authentication = Authentication; }
public PostHandler(IFormsAuthenticationWrapper formsAuthenticationWrapper) { this.formsAuthenticationWrapper = formsAuthenticationWrapper; }
public UserAccountController(IDocumentSession documentSession, IFormsAuthenticationWrapper formsAuthentication) { _documentSession = documentSession; _formsAuthentication = formsAuthentication; }