public PasswordRecoveryService(IConfirmationCodeService confirmationCodeService, IPasswordPolicy passwordPolicy, IPasswordHasher passwordHasher) { _passwordHasher = passwordHasher; _confirmationCodeService = confirmationCodeService; _passwordPolicy = passwordPolicy; }
public EmailChangeService(IConfirmationCodeService confirmationCodeService, IUserManager userManager, IEmailConfirmationService emailConfirmationService, IConfirmationSenderService confirmationSenderService) { _userManager = userManager; _emailConfirmationService = emailConfirmationService; _confirmationCodeService = confirmationCodeService; _senderService = confirmationSenderService; }
public UserService( IUnitOfWork unitOfWork, UserManager <User> userManager, IConfirmationCodeService confirmationCodeService, IHttpContextAccessor httpContextAccessor, IEmailService emailService ) { _unitOfWork = unitOfWork; _userDataProvider = _unitOfWork.Get <IUserDataProvider>(); _userManager = userManager; _confirmationCodeService = confirmationCodeService; _httpContextAccessor = httpContextAccessor; _emailService = emailService; }
public AuthorizationService(UserManager <User> userManager, IUnitOfWork unitOfWork, IJWTService jwt, IEmailService email, IConfirmationCodeService generateConfirmationCode, IPasswordService resetPasswordCode, LinkGenerator linkGenerator, IHttpContextAccessor httpContextAccessor, IOptions <JWTSettings> jwtSettings) { this.userManager = userManager; this.jwt = jwt; this.email = email; this.generateConfirmationCode = generateConfirmationCode; this.linkGenerator = linkGenerator; this.resetPasswordCode = resetPasswordCode; this.httpContextAccessor = httpContextAccessor; this.jwtSettings = jwtSettings.Value; this.unitOfWork = unitOfWork; this.tokenDataProvider = unitOfWork.Get <ITokenDataProvider>(); }
public EmailConfirmationService(IConfirmationCodeService confirmationCodeService) { _confirmationCodeService = confirmationCodeService; }