1 override of Cookies
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
138public override IRequestCookieCollection Cookies
1 write to Cookies
Microsoft.AspNetCore.Http.Tests (1)
Internal\DefaultHttpRequestTests.cs (1)
189request.Cookies = cookies2;
37 references to Cookies
BasicWebSite (3)
Controllers\TestingController.cs (3)
127if (!Request.Cookies.ContainsKey("AntiforgerySimulator")) 132if (!string.Equals(compareValue, Request.Cookies["AntiforgerySimulator"])) 149CookieValue = Request.Cookies["Message"]
CookiePolicySample (1)
Startup.cs (1)
80var cookies = context.Request.Cookies;
GenericHostWebSite (3)
Controllers\TestingController.cs (3)
113if (!Request.Cookies.ContainsKey("AntiforgerySimulator")) 118if (!string.Equals(compareValue, Request.Cookies["AntiforgerySimulator"])) 135CookieValue = Request.Cookies["Message"]
Microsoft.AspNetCore.Antiforgery (2)
Internal\DefaultAntiforgeryTokenStore.cs (2)
26var requestCookie = httpContext.Request.Cookies[_options.Cookie.Name!]; 40var cookieToken = httpContext.Request.Cookies[_options.Cookie.Name!];
Microsoft.AspNetCore.Antiforgery.Test (2)
DefaultAntiforgeryTokenStoreTest.cs (2)
299httpContext.Setup(r => r.Request.Cookies).Returns(Mock.Of<IRequestCookieCollection>()); 324httpContext.Setup(r => r.Request.Cookies).Returns(Mock.Of<IRequestCookieCollection>());
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
262var correlationCookie = Request.Cookies[cookieName];
Microsoft.AspNetCore.Authentication.Cookies (3)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (3)
95var requestCookies = context.Request.Cookies; 161var requestCookies = context.Request.Cookies; 236var requestCookies = context.Request.Cookies;
Microsoft.AspNetCore.Authentication.OpenIdConnect (3)
OpenIdConnectHandler.cs (3)
1171/// Searches <see cref="HttpRequest.Cookies"/> for a matching nonce. 1175/// <remarks>Examine <see cref="IRequestCookieCollection.Keys"/> of <see cref="HttpRequest.Cookies"/> that start with the prefix: 'OpenIdConnectAuthenticationDefaults.Nonce'. 1184foreach (var nonceKey in Request.Cookies.Keys)
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
61var protectedRequestToken = Request.Cookies[Options.StateCookie.Name!];
Microsoft.AspNetCore.CookiePolicy (1)
ResponseCookiesWrapper.cs (1)
56var cookie = Context.Request.Cookies[Options.ConsentCookie.Name!];
Microsoft.AspNetCore.CookiePolicy.Test (3)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (3)
95var requestCookies = context.Request.Cookies; 161var requestCookies = context.Request.Cookies; 236var requestCookies = context.Request.Cookies;
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
380Cookies = request.Cookies,
Microsoft.AspNetCore.Http.Tests (4)
Internal\DefaultHttpRequestTests.cs (4)
169var cookies0 = request.Cookies; 178var cookies1 = request.Cookies; 190Assert.Equal(cookies2, request.Cookies); 191Assert.Equal("value2", request.Cookies["name2"]);
Microsoft.AspNetCore.Localization (1)
CookieRequestCultureProvider.cs (1)
33var cookie = httpContext.Request.Cookies[CookieName];
Microsoft.AspNetCore.Mvc.Core (3)
src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (3)
95var requestCookies = context.Request.Cookies; 161var requestCookies = context.Request.Cookies; 236var requestCookies = context.Request.Cookies;
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\CacheTagKey.cs (1)
88_cookies = ExtractCollection(tagHelper.VaryByCookie, request.Cookies, CookieAccessor);
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
CookieTempDataProvider.cs (1)
60if (context.Request.Cookies.ContainsKey(_options.Cookie.Name))
Microsoft.AspNetCore.Session (1)
SessionMiddleware.cs (1)
64var cookieValue = context.Request.Cookies[_options.Cookie.Name!];
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Hubs.cs (1)
78return Context.GetHttpContext().Request.Cookies[cookieName];
SignalR.Client.FunctionalTestApp (1)
TestHub.cs (1)
144var cookies = Context.GetHttpContext().Request.Cookies;