Antiforgery/test/Microsoft.AspNet.Antiforger...
Ryan Nowak 3280ff6ac5 Add Header support
This change adds support for retrieving an antiforgery CSRF token via a
configurable header in addition to the form field. This helps with doing
ajax requests in a 1st-party SPA when using cookie auth, and is similar to
functionality provided by a bunch of different frameworks.

In this change there's also a bunch of churn due to avoiding the term
'form' in favor of 'request' and 'session' in favor of 'cookie'. Where
code and error message now mention 'form' they specifically mean
form-encoded content.
2015-12-15 14:18:09 -08:00
..
AntiforgeryOptionsSetupTest.cs React to DataProtection changes 2015-11-17 14:08:22 -08:00
AntiforgeryTokenTest.cs Add Header support 2015-12-15 14:18:09 -08:00
BinaryBlobTest.cs Code dump of Antiforgery code 2015-06-10 12:13:30 -07:00
DefaultAntiforgeryTest.cs Add Header support 2015-12-15 14:18:09 -08:00
DefaultAntiforgeryTokenGeneratorTest.cs Add Header support 2015-12-15 14:18:09 -08:00
DefaultAntiforgeryTokenSerializerTest.cs Add Header support 2015-12-15 14:18:09 -08:00
DefaultAntiforgeryTokenStoreTest.cs Add Header support 2015-12-15 14:18:09 -08:00
DefaultClaimUidExtractorTest.cs Updating tests to use moq.netcore 2015-11-23 11:39:40 -08:00
Microsoft.AspNet.Antiforgery.Test.xproj Code dump of Antiforgery code 2015-06-10 12:13:30 -07:00
TestOptionsManager.cs Updating tests to use moq.netcore 2015-11-23 11:39:40 -08:00
project.json Return an `IHtmlContent` from `IAntiforgery.GetHtml()` 2015-11-25 09:44:54 -08:00