2 implementations of IConnectionTypeFeature
Aspire.Dashboard (1)
Authentication\Connection\ConnectionTypeMiddleware.cs (1)
30private sealed class ConnectionTypeFeature : IConnectionTypeFeature
Aspire.Dashboard.Tests (1)
BrowserSecurityHeadersMiddlewareTests.cs (1)
82private sealed class TestConnectionTypeFeature : IConnectionTypeFeature
7 references to IConnectionTypeFeature
Aspire.Dashboard (6)
Authentication\Connection\ConnectionTypeAuthenticationHandler.cs (2)
18var connectionTypeFeature = Context.Features.Get<IConnectionTypeFeature>();
Authentication\Connection\ConnectionTypeHttpContextExtensions.cs (3)
13/// Kestrel endpoints always have <see cref="IConnectionTypeFeature"/> set. A request without the feature 18var feature = context.Features.Get<IConnectionTypeFeature>();
Authentication\Connection\ConnectionTypeMiddleware.cs (1)
26context.Features.Set<IConnectionTypeFeature>(new ConnectionTypeFeature { ConnectionTypes = _connectionTypes });
Aspire.Dashboard.Tests (1)
BrowserSecurityHeadersMiddlewareTests.cs (1)
73httpContext.Features.Set<IConnectionTypeFeature>(new TestConnectionTypeFeature { ConnectionTypes = [connectionType] });