コード例 #1
0
 public AuthorizeActionFilter(
     MixIdentityService idService,
     AuditLogRepository auditlogRepo,
     MixIdentityHelper mixIdentityHelper)
 {
     _idService         = idService;
     _auditlogRepo      = auditlogRepo;
     _mixIdentityHelper = mixIdentityHelper;
 }
コード例 #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;
 }
コード例 #3
0
 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;
 }