public UserController( IUserService userService, IRightService rightService, IUserSecurityService userSecurityService, ILogger logger) { if (userService == null) { throw new ArgumentNullException("userService"); } _userService = userService; if (rightService == null) { throw new ArgumentNullException("rightService"); } _rightService = rightService; if (userSecurityService == null) { throw new ArgumentNullException("userSecurityService"); } _userSecurityService = userSecurityService; if (logger == null) { throw new ArgumentNullException("logger"); } _logger = logger; }
public UserService( IUserRepository repository, IUserSecurityRepository securityRepository, IUserSecurityService securityService) { this.repository = repository; this.securityRepository = securityRepository; this.securityService = securityService; }
public SecurityController( IUserSecurityService userSecurityService, IEmailSender emailSender, UserManager <User> userManager) { this.userSecurityService = userSecurityService; this.emailSender = emailSender; this.userManager = userManager; }
public SecurityController(IAuthenticator authenticator, IActionBus actionBus, IEventBus eventBus, ISequenceService sequenceService, IUserSecurityService userSecurityService) : base(authenticator, actionBus) { EventBus = eventBus; _sequenceService = sequenceService; _userSecurityService = userSecurityService; }
public ReportSecurityService( ISecurityRepository securityRepository, IUserSecurityService userSecurityService) : base(securityRepository) { if (userSecurityService == null) { throw new ArgumentNullException("userSecurityService"); } _userSecurityService = userSecurityService; }
public UserService(IUserRepository userRepository, ILdapRepository ldapRepository, IUserSecurityService securityService) { if (userRepository == null) { throw new ArgumentNullException("userRepository"); } _userRepository = userRepository; if (ldapRepository == null) { throw new ArgumentNullException("ldapRepository"); } _ldapRepository = ldapRepository; if (securityService == null) { throw new ArgumentNullException("securityService"); } _securityRepository = securityService; }
public UserSecurityRuleEngine(IUserSecurityService userSecurityService) { _userSecurityService = userSecurityService; }
public UserService(IUserRepository userRepository, IUserSecurityService userSecurityService) { _userRepository = userRepository; _userSecurityService = userSecurityService; }
public PhotoGalleryMembershipProvider(IUserCreationService userCreationService, IUserSecurityService securityService, IUserQueryService queryService) { this.userCreationService = userCreationService; this.securityService = securityService; this.queryService = queryService; }