public AccountService( IRepository <AccountPartRecord> repository, IRepository <UserPartRecord> userPartRepository, IRepository <EmployeeRecord> employeeRepository, IAccountEventHandler accountEventHandler, IMembershipService membershipService, ICompanyService companyService, IDepartmentService deptService, IPositionService positionService, ICacheManager cacheManager, IMediaService mediaService, IOrchardServices orchardService) { _repository = repository; _userPartRepository = userPartRepository; _employeeRepository = employeeRepository; _accountEventHandler = accountEventHandler; _membershipService = membershipService; _companyService = companyService; _deptService = deptService; _positionService = positionService; _cacheManager = cacheManager; _mediaService = mediaService; _orchardService = orchardService; Logger = NullLogger.Instance; }
public OAuthMiddlewareProvider( IOrchardServices orardSeries, IRefreshTokenService refreshTokenServices, IAppClientServices clientPolicyServices, ISecurityCodeService securityCodeService, IAccountEventHandler accountEventHandler) { _orchardServices = orardSeries; _refreshTokenServices = refreshTokenServices; _clientPolicyServices = clientPolicyServices; _securityCodeService = securityCodeService; _accountEventHandler = accountEventHandler; }
/// <summary> /// 初始化默认实现OAuth2协议的身份认证机制 /// </summary> /// <param name="orchardServices"></param> /// <param name="clientPolicyServices"></param> /// <param name="logger"></param> public DefaultAuthorizationServerProvider( IOrchardServices orchardServices, IAppClientServices clientPolicyServices, ISecurityCodeService securityCodeService, IAccountEventHandler accountEventHandler ) { _orchardServices = orchardServices; _clientPolicyServices = clientPolicyServices; _securityCodeService = securityCodeService; _accountEventHandler = accountEventHandler; Logger = NullLogger.Instance; }
public AppMembershipService( IOrchardServices orchardServices, IEncryptionService encryptionService, IAppConfigurationAccessor appConfigurationAccessor, IUserEventHandler userEventHandlers, IAccountEventHandler accountEventHandlers, IClock clock, IEmployeeService employeeService) { _orchardServices = orchardServices; _encryptionService = encryptionService; _appConfigurationAccessor = appConfigurationAccessor; _userEventHandlers = userEventHandlers; _accountEventHandlers = accountEventHandlers; _clock = clock; _employeeService = employeeService; Logger = NullLogger.Instance; T = NullLocalizer.Instance; }