1 override of IsHttps
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
109public override bool IsHttps
5 writes to IsHttps
HttpAbstractions.SampleApp (1)
Program.cs (1)
24request.IsHttps = true;
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
CookieBuilderTests.cs (1)
22context.Request.IsHttps = requestIsHttps;
Microsoft.AspNetCore.Http.Tests (2)
Internal\DefaultHttpRequestTests.cs (2)
124request.IsHttps = true; 126request.IsHttps = false;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CookieTempDataProviderTest.cs (1)
163httpContext.Request.IsHttps = isRequestSecure;
25 references to IsHttps
Aspire.Dashboard (1)
Model\BrowserSecurityHeadersMiddleware.cs (1)
69context.Response.Headers.ContentSecurityPolicy = context.Request.IsHttps
Aspire.Dashboard.Tests (1)
Integration\MockOpenIdAuthority.cs (1)
48issuer = $"{(request.IsHttps ? "https" : "http")}://{host}";
AutobahnTestApp (1)
Startup.cs (1)
31var wsScheme = context.Request.IsHttps ? "wss" : "ws";
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
258if (_options.Cookie.SecurePolicy == CookieSecurePolicy.Always && !context.Request.IsHttps)
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenStoreTest.cs (1)
361.Setup(hc => hc.Request.IsHttps)
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationHandler.cs (1)
51if (!Context.Request.IsHttps)
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
240if (Context.Request.IsHttps && !options.Secure)
Microsoft.AspNetCore.Http.Tests (3)
Internal\DefaultHttpRequestTests.cs (3)
123Assert.False(request.IsHttps); 129Assert.False(request.IsHttps); 131Assert.True(request.IsHttps);
Microsoft.AspNetCore.HttpsPolicy (2)
HstsMiddleware.cs (1)
64if (!context.Request.IsHttps)
HttpsRedirectionMiddleware.cs (1)
80if (context.Request.IsHttps)
Microsoft.AspNetCore.Mvc.Core (1)
RequireHttpsAttribute.cs (1)
45if (!filterContext.HttpContext.Request.IsHttps)
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
119if (context.Request.IsHttps)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
168if (context.Request.IsHttps
Microsoft.AspNetCore.Rewrite (3)
PatternSegments\IsHttpsModSegment.cs (1)
12return context.HttpContext.Request.IsHttps ? "on" : "off";
PatternSegments\IsHttpsUrlSegment.cs (1)
12return context.HttpContext.Request.IsHttps ? "ON" : "OFF";
RedirectToHttpsRule.cs (1)
17if (!context.HttpContext.Request.IsHttps)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
Http3Tests.cs (6)
30Assert.True(httpContext.Request.IsHttps); 56Assert.True(httpContext.Request.IsHttps); 96Assert.True(httpContext.Request.IsHttps); 133Assert.True(httpContext.Request.IsHttps); 162Assert.True(httpContext.Request.IsHttps); 190Assert.True(httpContext.Request.IsHttps);
SignalR.Client.FunctionalTestApp (1)
Startup.cs (1)
183if (context.Request.IsHttps)