Esempio n. 1
0
 public LoginModel(SignInManager <ApplicationUser> signInManager,
                   ILogger <LoginModel> logger,
                   UserManager <ApplicationUser> userManager,
                   ILoginAttemptsService loginAttemptsService)
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _logger               = logger;
     _loginAttemptsService = loginAttemptsService;
 }
 public LoginManager(IAuthenticationService authenticationService, ICryptographyService cryptographyService,
                     IEmailService emailService, ILoginAttemptsService loginAttemptsService, IUserAccountService userAccountService,
                     IUserAccountCodeService userAccountCodeService, IUserProfileService userProfileService, IMapperService mapperService,
                     IClaimsPrincipalService claimsPrincipalService)
 {
     _authenticationService  = authenticationService;
     _cryptographyService    = cryptographyService;
     _emailService           = emailService;
     _loginAttemptService    = loginAttemptsService;
     _userAccountService     = userAccountService;
     _userAccountCodeService = userAccountCodeService;
     _userProfileService     = userProfileService;
     _mapperService          = mapperService;
     _claimsPrincipalService = claimsPrincipalService;
 }
Esempio n. 3
0
 public IpResetModel(ILoginAttemptsService loginAttemptsService, UserManager <ApplicationUser> userManager)
 {
     _loginAttemptsService = loginAttemptsService;
     _userManager          = userManager;
 }