public SummaryController( ISingletonAutoObjectCache <SummaryController, Dictionary <string, object> > objectCache, IConfiguration configuration, IActionContextAccessor actionContextAccessor, ILogger <SummaryController> logger) { _objectCache = objectCache; _configuration = configuration; _actionContextAccessor = actionContextAccessor; _logger = logger; }
public PublicFacingUrlMiddleware(RequestDelegate next, IConfiguration configuration, ISingletonAutoObjectCache <PublicFacingUrlMiddleware, Dictionary <string, object> > objectCache) { _next = next; _configuration = configuration; _objectCache = objectCache; PathRootUrl = _configuration["IdentityServerPublicFacingUri"]; if (!string.IsNullOrEmpty(PathRootUrl)) { PathRootUrl = PathRootUrl.Trim('/'); } }
public PreIdentityServerMiddleware( ISingletonAutoObjectCache <PreIdentityServerMiddleware, Dictionary <string, object> > objectCache, IConfiguration configuration, IClientSecretValidator clientValidator, IDiscoveryResponseGenerator responseGenerator, IEnumerable <IIdentityServerRequestTrackerEvaluator> evaluators, RequestDelegate next, ILogger <PreIdentityServerMiddleware> logger) { _objectCache = objectCache; _configuration = configuration; _clientValidator = clientValidator; _responseGenerator = responseGenerator; _evaluators = evaluators; _next = next; _logger = logger; KnownEndpointPaths = new List <string>() { "/.well-known/openid-configuration", "/.well-known/openid-configuration/jwks", "/connect/authorize", "/connect/token", "/connect/userinfo", "/connect/endsession", "/connect/checksession", "/connect/revocation", "/connect/introspect", "/connect/deviceauthorization" }; PathRootUrl = _configuration["IdentityServerPublicFacingUri"]; if (!string.IsNullOrEmpty(PathRootUrl)) { PathRootUrl = PathRootUrl.TrimEnd('/'); PathRootUrl = $"/{PathRootUrl}"; } }
public GoodSingleton2Controller(ISingletonAutoObjectCache <GoodSingleton2Controller, Dictionary <string, object> > objectCache) { _objectCache = objectCache; }