Beispiel #1
0
 public UserService(
     IRepository <UserData> userDataRepository,
     IRepository <Role> roleRepository,
     IHashCryptoHelper hashCryptoHelper,
     IUserServiceValidationHelper userServiceValidationHelper,
     IUserLoginService userLoginService)
 {
     this.userDataRepository          = userDataRepository;
     this.roleRepository              = roleRepository;
     this.hashCryptoHelper            = hashCryptoHelper;
     this.userServiceValidationHelper = userServiceValidationHelper;
     this.userLoginService            = userLoginService;
 }
 public UserLoginService(
     IRepository <UserData> userDataRepository,
     IUserSessionService userSessionService,
     IJwtHelper jwtHelper,
     IAesCryptoHelper aesCryptoHelper,
     IClientContextScraper clientContextScraper,
     IHashCryptoHelper hashCryptoHelper,
     IOptionsMonitor <OptionManager> optionManager,
     IMessageService messageService,
     IUserServiceValidationHelper userServiceValidationHelper)
 {
     this.userDataRepository          = userDataRepository;
     this.userSessionService          = userSessionService;
     this.jwtHelper                   = jwtHelper;
     this.aesCryptoHelper             = aesCryptoHelper;
     this.clientContextScraper        = clientContextScraper;
     this.hashCryptoHelper            = hashCryptoHelper;
     this.optionManager               = optionManager;
     this.messageService              = messageService;
     this.userServiceValidationHelper = userServiceValidationHelper;
 }