public AuthService(UserManager <User> userManager, PasswordHasher <User> passwordHasher, IConfigurationRoot configuration, IMapper mapper, IReCaptchaValidation reCaptchaValidation) { _userManager = userManager; _passwordHasher = passwordHasher; _configuration = configuration; _mapper = mapper; _reCaptchaValidation = reCaptchaValidation; }
public AccountController(IAuthService authService, IChangePasswordService changePasswordService, IConfirmAccountService confirmAccountService, ILogger <AccountController> logger, ICacheService cacheService, IReCaptchaValidation reCaptchaValidation) { _authService = authService; _changePasswordService = changePasswordService; _confirmAccountService = confirmAccountService; _logger = logger; _cacheService = cacheService; _reCaptchaValidation = reCaptchaValidation; }