public async Task Invoke(HttpContext httpContext, EnterprisePortalCurrentContext currentContext,
                                 GlobalSettings globalSettings)
        {
            await currentContext.BuildAsync(httpContext, globalSettings);

            await _next.Invoke(httpContext);
        }
Ejemplo n.º 2
0
 public HomeController(
     SignInManager <User> signInManager,
     ILogger <HomeController> logger,
     EnterprisePortalCurrentContext enterprisePortalCurrentContext)
 {
     _signInManager = signInManager;
     _logger        = logger;
     _enterprisePortalCurrentContext = enterprisePortalCurrentContext;
 }
Ejemplo n.º 3
0
 public SsoController(
     ISsoConfigRepository ssoConfigRepository,
     EnterprisePortalCurrentContext enterprisePortalCurrentContext,
     II18nService i18nService,
     GlobalSettings globalSettings)
 {
     _ssoConfigRepository            = ssoConfigRepository;
     _enterprisePortalCurrentContext = enterprisePortalCurrentContext;
     _i18nService    = i18nService;
     _globalSettings = globalSettings;
 }
Ejemplo n.º 4
0
 public PoliciesController(
     IUserService userService,
     IOrganizationService organizationService,
     IPolicyService policyService,
     IPolicyRepository policyRepository,
     EnterprisePortalCurrentContext enterprisePortalCurrentContext,
     II18nService i18nService)
 {
     _userService                    = userService;
     _organizationService            = organizationService;
     _policyService                  = policyService;
     _policyRepository               = policyRepository;
     _enterprisePortalCurrentContext = enterprisePortalCurrentContext;
     _i18nService                    = i18nService;
 }
Ejemplo n.º 5
0
 public OrganizationPickerViewComponent(EnterprisePortalCurrentContext enterprisePortalCurrentContext)
 {
     _enterprisePortalCurrentContext = enterprisePortalCurrentContext;
 }