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