1 write to Key
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryTestHelper.cs (1)
31
Key
= cookieKey,
17 references to Key
Microsoft.AspNetCore.Mvc.FunctionalTests (17)
AntiforgeryTests.cs (2)
68
request.Headers.Add("Cookie", cookieToken.
Key
+ "=" + cookieToken.Value);
118
request.Headers.Add("Cookie", cookieToken.
Key
+ "=" + cookieToken.Value);
NonNullableReferenceTypesTest.cs (2)
53
request.Headers.Add("Cookie", cookieToken.
Key
+ "=" + cookieToken.Value);
95
request.Headers.Add("Cookie", cookieToken.
Key
+ "=" + cookieToken.Value);
RazorPageModelTest.cs (1)
195
request.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
RazorPagesTest.cs (7)
102
postRequest.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
134
postRequest.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
215
postRequest.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
247
postRequest.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
417
postRequest.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
581
request.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
1507
request.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
RazorPagesWithBasePathTest.cs (5)
442
message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.
Key
}={cookie.Value}");
471
message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.
Key
}={cookie.Value}");
499
message.Headers.TryAddWithoutValidation("Cookie", $"{cookie.
Key
}={cookie.Value}");
711
request.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);
762
request.Headers.Add("Cookie", cookie.
Key
+ "=" + cookie.Value);