public AuthorizeActionFilter(
     MixIdentityService idService,
     AuditLogRepository auditlogRepo,
     MixIdentityHelper mixIdentityHelper)
 {
     _idService         = idService;
     _auditlogRepo      = auditlogRepo;
     _mixIdentityHelper = mixIdentityHelper;
 }
Example #2
0
 public ApiAccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     RoleManager <IdentityRole> roleManager,
     MixIdentityService helper,
     ILogger <ApiAccountController> logger)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
     _logger        = logger;
     _idService     = helper;
 }
 public ApiInitCmsController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     RoleManager <IdentityRole> roleManager,
     IHubContext <PortalHub> hubContext,
     IMemoryCache memoryCache,
     MixIdentityService idHelper)
     : base(null, memoryCache, hubContext)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
     _idHelper      = idHelper;
 }