public ChangePasswordModel( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IPasswordBreachChecker passwordBreachChecker, ILogger <ChangePasswordModel> logger) { this.userManager = userManager; this.signInManager = signInManager; this.passwordBreachChecker = passwordBreachChecker; this.logger = logger; }
public RegisterModel( IHttpContextAccessor httpContextAccessor, UserManager <ApplicationUser> userManager, IRegistrationTokenRepository registrationTokenRepository, IRegistrationTokenValidator registrationTokenValidator, IPasswordBreachChecker passwordBreachChecker, ILogger <RegisterModel> logger, IEmailRepository emailRepository) { this.httpContextAccessor = httpContextAccessor; this.userManager = userManager; this.registrationTokenRepository = registrationTokenRepository; this.registrationTokenValidator = registrationTokenValidator; this.passwordBreachChecker = passwordBreachChecker; this.logger = logger; this.emailRepository = emailRepository; }
public ResetPasswordModel(UserManager <ApplicationUser> userManager, IPasswordBreachChecker passwordBreachChecker) { this.userManager = userManager; this.passwordBreachChecker = passwordBreachChecker; }
public void Setup() { objPasswordChecker = new PasswordStringValidations(); objDataBreachChecker = new DataBreachChecker(PWNEDApiURL, UserAgent, HIBPApiKey, RangeApiURL); }