Beispiel #1
0
 public AccountController(
     IAuthenticationService authenticationService,
     IMembershipService membershipService,
     IUserService userService,
     IOrchardServices orchardServices,
     IShapeFactory shapeFactory,
     IContentManager contentManager,
     IFrontEndProfileService frontEndProfileService,
     ShellSettings shellSetting,
     IUserEventHandler userEventHandler,
     IAccountValidationService accountValidationService)
 {
     _authenticationService = authenticationService;
     _membershipService     = membershipService;
     _userService           = userService;
     _orchardServices       = orchardServices;
     Logger                    = NullLogger.Instance;
     T                         = NullLocalizer.Instance;
     Shape                     = shapeFactory;
     _contentManager           = contentManager;
     _frontEndProfileService   = frontEndProfileService;
     _shellSettings            = shellSetting;
     _userEventHandler         = userEventHandler;
     _accountValidationService = accountValidationService;
 }
Beispiel #2
0
 public UsersExtensionsServices(
     IOrchardServices orchardServices,
     IPolicyServices policySerivces,
     IMembershipService membershipService,
     IUtilsServices utilsServices,
     IAuthenticationService authenticationService,
     IUserService userService,
     IUserEventHandler userEventHandler,
     IShapeFactory shapeFactory,
     ICultureManager cultureManager,
     ICommonsServices commonsServices,
     IAccountValidationService accountValidationService)
 {
     T                         = NullLocalizer.Instance;
     Log                       = NullLogger.Instance;
     _policyServices           = policySerivces;
     _orchardServices          = orchardServices;
     _membershipService        = membershipService;
     _authenticationService    = authenticationService;
     _utilsServices            = utilsServices;
     _userService              = userService;
     _userEventHandler         = userEventHandler;
     _shapeFactory             = shapeFactory;
     _cultureManager           = cultureManager;
     _commonsServices          = commonsServices;
     _accountValidationService = accountValidationService;
 }
Beispiel #3
0
 public LoginService(ILoginUserService loginUserService,
                     IAccountValidationService validator, IUsersEntityService usersService)
 {
     _validator        = validator;
     _loginUserService = loginUserService;
     _usersService     = usersService;
 }
Beispiel #4
0
 public AccountController(IUserService userService, IAccountValidationService accountValidationService)
 {
     _userService = userService;
     _accountValidationService = accountValidationService;
 }
Beispiel #5
0
 /// <summary>
 /// 支持校验操作
 /// </summary>
 /// <param name="validationSvc">账号校验服务</param>
 /// <param name="vcodeMgr">验证码管理器</param>
 /// <param name="bizType">业务类型</param>
 public ValidatableOperation(IAccountValidationService validationSvc, IValidationTokenManager vcodeMgr, string bizType)
 {
     this.ValidationService = validationSvc;
     validationTokenMgr     = vcodeMgr;
     this.BizType           = bizType;
 }
 /// <summary>
 /// 支持校验操作
 /// </summary>
 /// <param name="validationSvc">账号校验服务</param>
 /// <param name="vcodeMgr">验证码管理器</param>
 /// <param name="bizType">业务类型</param>
 public ValidatableOperation(IAccountValidationService validationSvc, IValidationTokenManager vcodeMgr, string bizType)
 {
     this.ValidationService = validationSvc;
     validationTokenMgr = vcodeMgr;
     this.BizType = bizType;
 }