Mackinnon Buck a6efb8b5ae Dispose the certificate chain elements with the chain (#62531) (#62994) 7 maanden geleden
..
Authentication a6efb8b5ae Dispose the certificate chain elements with the chain (#62531) (#62994) 7 maanden geleden
Authorization 37a0667cf1 Mark API from 8.0 as shipped (#51947) 2 jaren geleden
CookiePolicy a403939c54 Mark API from 7 as shipped (#46069) 3 jaren geleden
perf 4cd47a5e9b Better logs in AuthorizationMiddleware (#43862) 3 jaren geleden
samples 3f3107ad0f Update jquery-validation to v1.19.5 (#50482) 2 jaren geleden
test c0575788ec Remove Interop build step (#39553) 4 jaren geleden
.vsconfig 8700479997 Clean up remaining `net461` references (#37731) 4 jaren geleden
AuthSamples.slnf 3117f43c33 Migrate to single sln file + slnf files (#23581) 5 jaren geleden
README.md c37ee916d1 Changed docs.microsoft.com links to learn.microsoft.com Issue: #44175 (#46206) 3 jaren geleden
Security.slnf d4430f0d7d Add MapIdentityApi<TUser>() (#47414) 2 jaren geleden
build.cmd 0801cea403 Favor project-specific build scripts over top-level script (#29918) 5 jaren geleden
build.sh 0801cea403 Favor project-specific build scripts over top-level script (#29918) 5 jaren geleden
startvs.cmd 3117f43c33 Migrate to single sln file + slnf files (#23581) 5 jaren geleden

README.md

Security

Contains the authentication and authorization components for ASP.NET Core. See the ASP.NET Core security documentation.

Some community projects related to authentication and authorization for ASP.NET Core are listed in the documentation.

Description

This area has the following subdirectories:

  • Authentication/: Components for identifying a user
  • Authorization/: Components for determining if a user has the required permissions
  • CookiePolicy/: A middleware that enforces security attributes on response cookies.
  • perf/: Performance testing infrastructure.
  • samples/: Samples that combine some of the above feature areas.
  • test/: Shared tests.

Notes

ASP.NET Security does not include Basic Authentication middleware due to its potential insecurity and performance problems. If you host under IIS, you can enable Basic Authentication via IIS configuration.

Development Setup

Build

To build this specific project from source, you can follow the instructions on building a subset of the code.

Or for the less detailed explanation, run the following command inside this directory.

> ./build.cmd

Test

To run the tests for this project, you can run the tests on the command line in this directory.

Or for the less detailed explanation, run the following command inside this directory.

> ./build.cmd -t

You can also run project specific tests by running dotnet test in the tests directory next to the src directory of the project.

More Information

For more information, see the ASP.NET Core README.