public PasswordConfirmationService( IOptions <ResetPasswordSettings> settings, ILogger <EmailConfirmationService> logger, IIdentitiesService identitiesService, IIdentityTokensService identityTokensService, IMailSender mailSender) { _settings = settings.Value; _logger = logger; _identitiesService = identitiesService; _identityTokensService = identityTokensService; _mailSender = mailSender; }
public IdentityService( IWebHostEnvironment env, IOptions <AppSettings> appSettings, IOptions <ResetPasswordSettings> resetPasswordSettings, IOptions <EmailSettings> emailSettings, IJwtTokenRepository jwtTokenRepository, ISenderEmailRepository senderEmailRepository) { _appSettings = appSettings.Value; _resetPasswordSettings = resetPasswordSettings.Value; _emailSettings = emailSettings.Value; _jwtTokenRepository = jwtTokenRepository; _env = env; _senderEmailRepository = senderEmailRepository; }
public AuthenticateResolver(IUserManager <ApplicationUser> userManager, ILoginManager <ApplicationUser> loginManager, IEmailProvider emailSender, IOptions <AppSettings> appSettings, IOptions <ResetPasswordSettings> resetPasswordSettings, IJwtHelper jwtHelper, IOptions <JwtConfigOptions> jwtConfigOptions, IHttpContextAccessor httpContextAccessor) : base() { _userManager = userManager; _loginManager = loginManager; _appSettings = appSettings.Value; _resetPasswordSettings = resetPasswordSettings.Value; _emailSender = emailSender; _jwtHelper = jwtHelper; _jwtConfigOptions = jwtConfigOptions.Value; _httpContextAccessor = httpContextAccessor; }