1 write to Key
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryTestHelper.cs (1)
31Key = cookieKey,
17 references to Key
Microsoft.AspNetCore.Mvc.FunctionalTests (17)
AntiforgeryTests.cs (2)
56request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value); 106request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value);
NonNullableReferenceTypesTest.cs (2)
41request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value); 83request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value);
RazorPageModelTest.cs (1)
183request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value);
RazorPagesTest.cs (7)
91postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 123postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 204postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 236postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 406postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 570request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 1496request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value);
RazorPagesWithBasePathTest.cs (5)
430message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.Key}={cookie.Value}"); 459message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.Key}={cookie.Value}"); 487message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.Key}={cookie.Value}"); 699request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 750request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value);