AntiForgery token feature for ASP.NET Core
C# Shell PowerShell Batchfile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Create ISSUE_TEMPLATE.md Jan 2, 2018
.vsts-pipelines/builds [automated] Change default branch to master Jul 2, 2018
build Update dependencies.props Aug 19, 2018
src/Microsoft.AspNetCore.Antiforgery Set 2.1 baselines Jun 13, 2018
test Upgrade to netcoreapp22 May 7, 2018
.appveyor.yml [automated] Change default branch to master Jul 2, 2018
.gitattributes Build with dotnet Jan 15, 2016
.gitignore Pin tools and package versions to make builds more repeatable Oct 26, 2017
.travis.yml [automated] Change default branch to master Jul 2, 2018
Antiforgery.sln Increase Minimum Version of Visual Studio to 15.3.0 Sep 22, 2017
CONTRIBUTING.md Update CONTRIBUTING.md Jul 24, 2018
Directory.Build.props Add certificate names for code signing Jun 6, 2018
Directory.Build.targets Upgrade to netcoreapp22 May 7, 2018
LICENSE.txt Update LICENSE.txt text Jul 3, 2017
NuGet.config Use MSBuild to set NuGet feeds instead of NuGet.config Nov 20, 2017
NuGetPackageVerifier.json Removed packages list in NuGetPackageVerifier.json Dec 12, 2016
README.md Pin tools and package versions to make builds more repeatable Oct 26, 2017
build.cmd Update bootstrappers Oct 9, 2017
build.sh Update bootstrappers Oct 9, 2017
korebuild-lock.txt Update dependencies.props Aug 19, 2018
korebuild.json [automated] Change default branch to master Jul 2, 2018
run.cmd Update bootstrappers Oct 9, 2017
run.ps1 [automated] Change default branch to master Jul 2, 2018
run.sh [automated] Change default branch to master Jul 2, 2018
version.props Bumping version from 2.2.0 to 3.0.0 Jun 28, 2018

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 Core. You can find documentation and getting started instructions for ASP.NET Core at the Home repo.

Samples can be found in Entropy. The MVC sample shows how to use Antiforgery in MVC when making AJAX requests. The Angular sample shows how to use Antiforgery with Angular 1.