Go to file
Ryan Nowak 3a2d09b066 Move exceptions from the store to the facade
My earlier change to add TryValidateRequestAsync didn't go far enough,
because the store will still throw when the tokens aren't present. This
change is to make the store just return null tokens in these cases, and
move the exceptions to DefaultAntiforgery.
2016-02-04 11:11:45 -08:00
samples/AntiforgerySample Remove dependency on routing in sample 2016-02-02 09:24:29 -08:00
src/Microsoft.AspNetCore.Antiforgery Move exceptions from the store to the facade 2016-02-04 11:11:45 -08:00
test Move exceptions from the store to the facade 2016-02-04 11:11:45 -08:00
tools
.bowerrc
.gitattributes Build with dotnet 2016-01-15 15:53:26 -08:00
.gitignore Build with dotnet 2016-01-15 15:53:26 -08:00
.travis.yml Build with dotnet 2016-01-15 15:53:26 -08:00
Antiforgery.sln Rename AspNet 5 file contents. 2016-01-22 12:24:22 -08:00
CONTRIBUTING.md
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Rename AspNet 5 file contents. 2016-01-22 12:24:22 -08:00
README.md
appveyor.yml Build with dotnet 2016-01-15 15:53:26 -08:00
build.cmd Build with dotnet 2016-01-15 15:53:26 -08:00
build.sh Build with dotnet 2016-01-15 15:53:26 -08:00
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.