Go to file
Kévin Chalet 7e14b052ea Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers (#1887)
* Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers

* Update the code documentation and remove an unnecessary call to SignOutAsync()

* Introduce a new AccessDenied event and move most of the access denied handling logic to RemoteAuthenticationHandler

* Add ReturnUrlParameter support to RemoteAuthenticationHandler

* Remove AccessDeniedException and introduce RemoteAuthenticationHandler.HandleAccessDeniedErrorAsync()

* Use OriginalPath instead of Request.Path

* Update obsolete code comments

* Add unit tests for the new AccessDenied event

* Allow customizing the access denied path/return URL/return URL parameter from the AccessDenied event
2018-11-15 15:12:42 -08:00
.vsts-pipelines/builds
benchmarks/Microsoft.AspNetCore.Security.Performance Authorization middleware (#1894) 2018-11-08 15:42:35 +13:00
build Authorization middleware (#1894) 2018-11-08 15:42:35 +13:00
samples Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers (#1887) 2018-11-15 15:12:42 -08:00
shared/Microsoft.AspNetCore.ChunkingCookieManager.Sources
src Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers (#1887) 2018-11-15 15:12:42 -08:00
test Add AccessDeniedPath support to the OIDC/OAuth2/Twitter providers (#1887) 2018-11-15 15:12:42 -08:00
.appveyor.yml
.gitattributes
.gitignore Authorization middleware (#1894) 2018-11-08 15:42:35 +13:00
.travis.yml
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json
README.md
Security.sln Authorization middleware (#1894) 2018-11-08 15:42:35 +13:00
build.cmd
build.sh
korebuild-lock.txt Update dependencies.props 2018-10-07 19:31:54 +00:00
korebuild.json
run.cmd
run.ps1
run.sh
version.props

README.md

ASP.NET Security

AppVeyor: AppVeyor

Travis: Travis

Contains the security and authorization middlewares for ASP.NET Core.

A list of community projects related to authentication and security for ASP.NET Core are listed in the documentation.

Notes

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

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