Go to file
Ryan Nowak 9eeb1de68f Use DI for all Antiforgery services
This change makes it possible to replace all of the various
IAntiforgery*** extensibility points via DI.

changes:
- Move functionality out of AntiforgeryWorker into Antiforgery
- Move services to DI (instead of constructed by Antiforgery)
- Cleanup how application/cookie-name is computed
- Merge IAntiforgeryTokenGenerator & IAntiforgeryTokenValidator
- Unseal classes
- Fix use of options in services
- Misc test cleanup
2015-06-23 12:13:01 -07:00
samples/AntiforgerySample Add sample of using Antiforgery outside of MVC 2015-06-10 14:53:44 -07:00
src/Microsoft.AspNet.Antiforgery Use DI for all Antiforgery services 2015-06-23 12:13:01 -07:00
test/Microsoft.AspNet.Antiforgery.Test Use DI for all Antiforgery services 2015-06-23 12:13:01 -07:00
.gitattributes
.gitignore Add sample of using Antiforgery outside of MVC 2015-06-10 14:53:44 -07:00
Antiforgery.sln Add sample of using Antiforgery outside of MVC 2015-06-10 14:53:44 -07:00
CONTRIBUTING.md
LICENSE.txt
NuGet.Config
README.md Add AppVeyor, Travis build status 2015-06-23 07:16:59 +03:00
build.cmd
build.sh Change hardcoded `bash` shebang to `env` 2015-06-23 10:46:47 -07:00
global.json Add sample of using Antiforgery outside of MVC 2015-06-10 14:53:44 -07:00
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.