Esempio n. 1
0
 public CreateModel(
     IClock clock,
     IEmailRepository emailRepository,
     IHttpContextAccessor httpContextAccessor,
     IRegistrationTokenRepository registrationTokenRepository)
 {
     this.clock                       = clock;
     this.emailRepository             = emailRepository;
     this.httpContextAccessor         = httpContextAccessor;
     this.registrationTokenRepository = registrationTokenRepository;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public RegistrationTokenValidator(IClock clock, IRegistrationTokenRepository registrationTokenRepository)
 {
     this.clock = clock;
     this.registrationTokenRepository = registrationTokenRepository;
 }