This code was popping up everywhere this method is called. Seems bad to duplicate it. Really what the caller wants to know is 'is the request valid or a potential CSRF exploit?'. This gets the API closer to that. |
||
|---|---|---|
| .. | ||
| AntiforgeryOptionsSetupTest.cs | ||
| AntiforgeryTokenTest.cs | ||
| BinaryBlobTest.cs | ||
| DefaultAntiforgeryTest.cs | ||
| DefaultAntiforgeryTokenGeneratorTest.cs | ||
| DefaultAntiforgeryTokenSerializerTest.cs | ||
| DefaultAntiforgeryTokenStoreTest.cs | ||
| DefaultClaimUidExtractorTest.cs | ||