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)
68request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value); 118request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value);
NonNullableReferenceTypesTest.cs (2)
53request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value); 95request.Headers.Add("Cookie", cookieToken.Key + "=" + cookieToken.Value);
RazorPageModelTest.cs (1)
195request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value);
RazorPagesTest.cs (7)
102postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 134postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 215postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 247postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 417postRequest.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 581request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 1507request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value);
RazorPagesWithBasePathTest.cs (5)
442message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.Key}={cookie.Value}"); 471message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.Key}={cookie.Value}"); 499message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.Key}={cookie.Value}"); 711request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value); 762request.Headers.Add("Cookie", cookie.Key + "=" + cookie.Value);