public AccountController(CustomClaimsCookieSignInHelper <PrankIdentityUser> claimManager, UserManager <PrankIdentityUser> userManager, SignInManager <PrankIdentityUser> loginManager, RoleManager <PrankIdentityRole> roleManager, IConfiguration iconfiguration) { this.userManager = userManager; this.loginManager = loginManager; this.roleManager = roleManager; _iconfiguration = iconfiguration; _customClaimsCookieSignInHelper = claimManager; }
public IdentityController(CustomClaimsCookieSignInHelper <IdentityUser> signInHelper , UserManager <IdentityUser> userManager , ApplicationDbContext context , RoleManager <IdentityRole> roleManager) { _signInHelper = signInHelper; _userManager = userManager; _context = context; _roleManager = roleManager; }
public LoginModel( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, CustomClaimsCookieSignInHelper <ApplicationUser> customClaimsCookieSignInHelper, CookiesHelper cookiesHelper, ApplicationDbContext ctx, AddToCart addToCart) { _userManager = userManager; _signInManager = signInManager; _customClaimsCookieSignInHelper = customClaimsCookieSignInHelper; _cookiesHelper = cookiesHelper; _ctx = ctx; _addToCart = addToCart; }