2 implementations of IConnectionTypeFeature
Aspire.Dashboard (1)
Authentication\Connection\ConnectionTypeMiddleware.cs (1)
30
private sealed class ConnectionTypeFeature :
IConnectionTypeFeature
Aspire.Dashboard.Tests (1)
BrowserSecurityHeadersMiddlewareTests.cs (1)
80
private sealed class TestConnectionTypeFeature :
IConnectionTypeFeature
6 references to IConnectionTypeFeature
Aspire.Dashboard (5)
Authentication\Connection\ConnectionTypeAuthenticationHandler.cs (2)
18
var
connectionTypeFeature = Context.Features.Get<
IConnectionTypeFeature
>();
Authentication\Connection\ConnectionTypeMiddleware.cs (1)
26
context.Features.Set<
IConnectionTypeFeature
>(new ConnectionTypeFeature { ConnectionTypes = _connectionTypes });
Model\BrowserSecurityHeadersMiddleware.cs (2)
66
var
feature = context.Features.Get<
IConnectionTypeFeature
>();
Aspire.Dashboard.Tests (1)
BrowserSecurityHeadersMiddlewareTests.cs (1)
71
httpContext.Features.Set<
IConnectionTypeFeature
>(new TestConnectionTypeFeature { ConnectionTypes = [ConnectionType.Otlp] });