Esempio n. 1
0
 public UserHandler(ILogger <UserHandler> log, IUserRepo userRepo, IPasswordUtils passwordUtils, IEmailService emailService)
 {
     _log           = log;
     _userRepo      = userRepo;
     _passwordUtils = passwordUtils;
     _emailService  = emailService;
 }
 public ApplicationUserService(
     CrudApiContext context,
     IMapper mapper,
     IHttpContextAccessor httpContextAccessor,
     IPasswordUtils passwordUtils)
     : base(context, httpContextAccessor)
 {
     this.context       = context;
     this.mapper        = mapper;
     this.passwordUtils = passwordUtils;
 }
 public RegistrationService(
     CrudApiContext context,
     IMapper mapper,
     IApplicationUserService userService,
     IPasswordUtils passwordUtils)
 {
     this.context       = context;
     this.mapper        = mapper;
     this.userService   = userService;
     this.passwordUtils = passwordUtils;
 }
Esempio n. 4
0
 public AuthService(
     CrudApiContext context,
     IMapper mapper,
     IConfiguration configuration,
     IPasswordUtils passwordUtils,
     ITokenService tokenService,
     IHttpContextAccessor httpContextAccessor)
     : base(context, httpContextAccessor)
 {
     this.context       = context;
     this.mapper        = mapper;
     this.configuration = configuration;
     this.passwordUtils = passwordUtils;
     this.tokenService  = tokenService;
 }