Go to file
Ryan Nowak 9bcecf3994 Fix #5 - better error message for missing tokens
This fix changes the model for error messaging in antiforgery. Now only
the token store will report a detailed error message including the names
of form field and cookie. Other components will give more generic errors
and assume that this was handled by the token store.

This way you still see an error if the user creates a token store that
doesn't throw, but it's a generic error that doesn't give incorrect
information.
2015-08-06 08:48:47 -07:00
samples/AntiforgerySample Add an IAntiforgery interface and simplify API 2015-06-24 15:56:03 -07:00
src/Microsoft.AspNet.Antiforgery Fix #5 - better error message for missing tokens 2015-08-06 08:48:47 -07:00
test/Microsoft.AspNet.Antiforgery.Test Fix #5 - better error message for missing tokens 2015-08-06 08:48:47 -07:00
.gitattributes
.gitignore
Antiforgery.sln
CONTRIBUTING.md
LICENSE.txt
NuGet.Config
README.md
build.cmd
build.sh
global.json
makefile.shade

README.md

Antiforgery

AppVeyor: AppVeyor

Travis: Travis

Antiforgery system for generating secure tokens to prevent Cross-Site Request Forgery attacks.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.