public SamlMetadataExposeLogic(FoxIDsSettings settings, TelemetryScopedLogger logger, ITenantRepository tenantRepository, Saml2ConfigurationLogic saml2ConfigurationLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.settings = settings; this.logger = logger; this.tenantRepository = tenantRepository; this.saml2ConfigurationLogic = saml2ConfigurationLogic; }
public TUserController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantRepository, BaseAccountLogic accountLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantRepository = tenantRepository; this.accountLogic = accountLogic; }
public SessionLogic(FoxIDsSettings settings, TelemetryScopedLogger logger, ITenantRepository tenantRepository, SingleCookieRepository <SessionCookie> sessionCookieRepository, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.settings = settings; this.logger = logger; this.tenantRepository = tenantRepository; this.sessionCookieRepository = sessionCookieRepository; }
public GenericPartyApiController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantRepository, ValidateGenericPartyLogic validateGenericPartyLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantRepository = tenantRepository; this.validateGenericPartyLogic = validateGenericPartyLogic; }
public AccountLogic(TelemetryScopedLogger logger, ITenantRepository tenantRepository, IMasterRepository masterRepository, SecretHashLogic secretHashLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.tenantRepository = tenantRepository; this.masterRepository = masterRepository; this.secretHashLogic = secretHashLogic; }
public TTrackController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantRepository, TrackLogic trackLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantRepository = tenantRepository; this.trackLogic = trackLogic; }
public TTenantController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantRepository, MasterTenantLogic masterTenantLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantRepository = tenantRepository; this.masterTenantLogic = masterTenantLogic; }
public LoginUpLogic(TelemetryScopedLogger logger, IServiceProvider serviceProvider, SequenceLogic sequenceLogic, ClaimTransformationsLogic claimTransformationsLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.serviceProvider = serviceProvider; this.sequenceLogic = sequenceLogic; this.claimTransformationsLogic = claimTransformationsLogic; }
public TenantClientSecretDownPartyController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantService, SecretHashLogic secretHashLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantService = tenantService; this.secretHashLogic = secretHashLogic; }
public SamlMetadataLogic(TelemetryScopedLogger logger, IServiceProvider serviceProvider, ITenantRepository tenantRepository, Saml2ConfigurationLogic saml2ConfigurationLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.serviceProvider = serviceProvider; this.tenantRepository = tenantRepository; this.saml2ConfigurationLogic = saml2ConfigurationLogic; }
public TenantPartyApiController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantService, ValidatePartyLogic validatePartyLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantService = tenantService; this.validatePartyLogic = validatePartyLogic; }
public JwtLogic(TelemetryScopedLogger logger, TrackKeyLogic trackKeyLogic, ClaimsLogic <TClient, TScope, TClaim> claimsLogic, OAuthResourceScopeLogic <TClient, TScope, TClaim> oauthResourceScopeLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.trackKeyLogic = trackKeyLogic; this.claimsLogic = claimsLogic; this.oauthResourceScopeLogic = oauthResourceScopeLogic; }
public AccountTwoFactorLogic(TelemetryScopedLogger logger, ITenantRepository tenantRepository, ExternalSecretLogic externalSecretLogic, SecretHashLogic secretHashLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.tenantRepository = tenantRepository; this.externalSecretLogic = externalSecretLogic; this.secretHashLogic = secretHashLogic; }
public OidcFrontChannelLogoutUpLogic(TelemetryScopedLogger logger, ITenantRepository tenantRepository, SessionUpPartyLogic sessionUpPartyLogic, SingleLogoutDownLogic singleLogoutDownLogic, OAuthRefreshTokenGrantDownLogic <OAuthDownClient, OAuthDownScope, OAuthDownClaim> oauthRefreshTokenGrantLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.tenantRepository = tenantRepository; this.sessionUpPartyLogic = sessionUpPartyLogic; this.singleLogoutDownLogic = singleLogoutDownLogic; this.oauthRefreshTokenGrantLogic = oauthRefreshTokenGrantLogic; }
public OAuthTokenDownLogic(TelemetryScopedLogger logger, ITenantRepository tenantRepository, JwtLogic <TClient, TScope, TClaim> jwtLogic, SecretHashLogic secretHashLogic, OAuthResourceScopeLogic <TClient, TScope, TClaim> oauthResourceScopeLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.tenantRepository = tenantRepository; this.jwtLogic = jwtLogic; this.secretHashLogic = secretHashLogic; this.oauthResourceScopeLogic = oauthResourceScopeLogic; }
public SingleLogoutDownLogic(TelemetryScopedLogger logger, IServiceProvider serviceProvider, ITenantRepository tenantRepository, SequenceLogic sequenceLogic, SecurityHeaderLogic securityHeaderLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.serviceProvider = serviceProvider; this.tenantRepository = tenantRepository; this.sequenceLogic = sequenceLogic; this.securityHeaderLogic = securityHeaderLogic; }
public TTrackKeyTypeController(TelemetryScopedLogger logger, FoxIDsControlSettings settings, IMapper mapper, ITenantRepository tenantRepository, TokenCredential tokenCredential) : base(logger) { this.logger = logger; this.settings = settings; this.mapper = mapper; this.tenantRepository = tenantRepository; this.tokenCredential = tokenCredential; }
public ActionController(TelemetryScopedLogger logger, IStringLocalizer localizer, ITenantRepository tenantRepository, AccountLogic userAccountLogic, AccountActionLogic accountActionLogic) : base(logger) { this.logger = logger; this.localizer = localizer; this.tenantRepository = tenantRepository; this.userAccountLogic = userAccountLogic; this.accountActionLogic = accountActionLogic; }
public SamlMetadataReadUpLogic(FoxIDsSettings settings, TelemetryScopedLogger logger, IConnectionMultiplexer redisConnectionMultiplexer, ITenantRepository tenantRepository, SamlMetadataReadLogic samlMetadataReadLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.settings = settings; this.logger = logger; this.redisConnectionMultiplexer = redisConnectionMultiplexer; this.tenantRepository = tenantRepository; this.samlMetadataReadLogic = samlMetadataReadLogic; }
public OidcFrontChannelLogoutDownLogic(TelemetryScopedLogger logger, TrackIssuerLogic trackIssuerLogic, ITenantRepository tenantRepository, SecurityHeaderLogic securityHeaderLogic, SingleLogoutDownLogic singleLogoutDownLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.trackIssuerLogic = trackIssuerLogic; this.tenantRepository = tenantRepository; this.securityHeaderLogic = securityHeaderLogic; this.singleLogoutDownLogic = singleLogoutDownLogic; }
public TTrackKeyTypeController(TelemetryScopedLogger logger, FoxIDsControlSettings settings, IMapper mapper, ITenantRepository tenantRepository, ExternalKeyLogic externalKeyLogic) : base(logger) { this.logger = logger; this.settings = settings; this.mapper = mapper; this.tenantRepository = tenantRepository; this.externalKeyLogic = externalKeyLogic; }
public SequenceLogic(FoxIDsSettings settings, TelemetryScopedLogger logger, IDataProtectionProvider dataProtectionProvider, IDistributedCache distributedCache, LocalizationLogic localizationLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.settings = settings; this.logger = logger; this.dataProtectionProvider = dataProtectionProvider; this.distributedCache = distributedCache; this.localizationLogic = localizationLogic; }
public OidcTokenDownLogic(TelemetryScopedLogger logger, ITenantRepository tenantRepository, JwtDownLogic <TClient, TScope, TClaim> jwtDownLogic, OAuthAuthCodeGrantDownLogic <TClient, TScope, TClaim> oauthAuthCodeGrantDownLogic, OAuthRefreshTokenGrantDownLogic <TClient, TScope, TClaim> oauthRefreshTokenGrantDownLogic, SecretHashLogic secretHashLogic, ClaimTransformLogic claimTransformLogic, OAuthResourceScopeDownLogic <TClient, TScope, TClaim> oauthResourceScopeDownLogic, IHttpContextAccessor httpContextAccessor) : base(logger, tenantRepository, jwtDownLogic, secretHashLogic, claimTransformLogic, oauthResourceScopeDownLogic, httpContextAccessor) { this.logger = logger; this.tenantRepository = tenantRepository; this.jwtDownLogic = jwtDownLogic; this.oauthAuthCodeGrantDownLogic = oauthAuthCodeGrantDownLogic; this.oauthRefreshTokenGrantDownLogic = oauthRefreshTokenGrantDownLogic; }
protected async Task SetSequanceAndCulture(HttpContext httpContext, TelemetryScopedLogger scopedLogger, string routeAction) { var culture = await SetSequanceAndGetSupportedCultureAsync(httpContext, scopedLogger, routeAction); var requestCulture = new RequestCulture(culture); httpContext.Features.Set <IRequestCultureFeature>(new RequestCultureFeature(requestCulture, null)); }
private void LogError(TelemetryScopedLogger scopedLogger, Exception ex) { scopedLogger.Error(ex); if (environment.IsDevelopment()) { Debug.WriteLine(ex.ToString()); } }
public OidcDiscoveryReadUpLogic(FoxIDsSettings settings, TelemetryScopedLogger logger, IConnectionMultiplexer redisConnectionMultiplexer, ITenantRepository tenantRepository, OidcDiscoveryReadLogic oidcDiscoveryReadLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.settings = settings; this.logger = logger; this.redisConnectionMultiplexer = redisConnectionMultiplexer; this.tenantRepository = tenantRepository; this.oidcDiscoveryReadLogic = oidcDiscoveryReadLogic; }
public SamlLogoutUpLogic(TelemetryScopedLogger logger, IServiceProvider serviceProvider, ITenantRepository tenantRepository, SequenceLogic sequenceLogic, FormActionLogic formActionLogic, Saml2ConfigurationLogic saml2ConfigurationLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.serviceProvider = serviceProvider; this.tenantRepository = tenantRepository; this.sequenceLogic = sequenceLogic; this.formActionLogic = formActionLogic; this.saml2ConfigurationLogic = saml2ConfigurationLogic; }
public OidcRpInitiatedLogoutDownLogic(TelemetryScopedLogger logger, IServiceProvider serviceProvider, ITenantRepository tenantRepository, SequenceLogic sequenceLogic, SecurityHeaderLogic securityHeaderLogic, JwtDownLogic <TClient, TScope, TClaim> jwtDownLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.serviceProvider = serviceProvider; this.tenantRepository = tenantRepository; this.sequenceLogic = sequenceLogic; this.securityHeaderLogic = securityHeaderLogic; this.jwtDownLogic = jwtDownLogic; }
public TMyTenantController(TelemetryScopedLogger logger, IMapper mapper, ITenantRepository tenantRepository, MasterTenantLogic masterTenantLogic, TenantCacheLogic tenantCacheLogic, ExternalKeyLogic externalKeyLogic) : base(logger) { this.logger = logger; this.mapper = mapper; this.tenantRepository = tenantRepository; this.masterTenantLogic = masterTenantLogic; this.tenantCacheLogic = tenantCacheLogic; this.externalKeyLogic = externalKeyLogic; }
public SamlAuthnUpLogic(TelemetryScopedLogger logger, IServiceProvider serviceProvider, ITenantRepository tenantRepository, SequenceLogic sequenceLogic, ClaimTransformationsLogic claimTransformationsLogic, Saml2ConfigurationLogic saml2ConfigurationLogic, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.logger = logger; this.serviceProvider = serviceProvider; this.tenantRepository = tenantRepository; this.sequenceLogic = sequenceLogic; this.claimTransformationsLogic = claimTransformationsLogic; this.saml2ConfigurationLogic = saml2ConfigurationLogic; }