public UserController(BlogUserManager userManager, IUserFactory userFactory, IRoleFactory roleFactory, BlogRoleManager roleManager) { _userManager = userManager; _userFactory = userFactory; _roleFactory = roleFactory; _roleManager = roleManager; }
public IdentityController(IHttpContextAccessor httpContextAccessor, BlogUserManager userManager, BlogRoleManager roleManager, IUserFactory userFactory) { _httpContextAccessor = httpContextAccessor; _userManager = userManager; _roleManager = roleManager; _userFactory = userFactory; }
public AccountController(IHttpContextAccessor httpContextAccessor, BlogUserManager userManager, BlogRoleManager roleManager, IUserFactory userFactory, BlogSignInManager signInManager) { _httpContextAccessor = httpContextAccessor; _userManager = userManager; _roleManager = roleManager; _userFactory = userFactory; _signInManager = signInManager; }
public RoleController(BlogRoleManager roleManager, IRoleFactory roleFactory) { _roleManager = roleManager; _roleFactory = roleFactory; }
public BlogDbRepository() { _ctx = new BlogIdentityDbContext(); _userManager = new BlogUserManager(new BlogUserStore(_ctx)); _roleManager = new BlogRoleManager(new RoleStore<BlogRole>(_ctx)); }
public HttpApiPermissionActionFilter(BlogRoleManager roleManager, BlogUserManager userManager) { _roleManager = roleManager; _userManager = userManager; }