コード例 #1
0
 public AuthService(UserManager <User> userManager, PasswordHasher <User> passwordHasher, IConfigurationRoot configuration, IMapper mapper,
                    IReCaptchaValidation reCaptchaValidation)
 {
     _userManager         = userManager;
     _passwordHasher      = passwordHasher;
     _configuration       = configuration;
     _mapper              = mapper;
     _reCaptchaValidation = reCaptchaValidation;
 }
コード例 #2
0
 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;
 }