* Add IAuthorizationPolicyProvider sample * Update IAuthorizationPolicyProvider sample to show falling back to a default provider * Make project, directory, and namespace names consistent for custom policy provider sample * Make policy provider sample an MVC app and replace Values controller with a home controller (with views) * Add cookie authentication and account controller/views * Update readme and comments to reflect new authorization policy provider scenario * Add some more information to the access denied page for debugging purposes * Add some additional logging * Minor updates based on PR feedback |
||
|---|---|---|
| build | ||
| samples | ||
| test | ||
| .appveyor.yml | ||
| .gitignore | ||
| .travis.yml | ||
| AuthSamples.sln | ||
| CONTRIBUTING.md | ||
| Directory.Build.props | ||
| Directory.Build.targets | ||
| LICENSE.txt | ||
| NuGet.config | ||
| NuGetPackageVerifier.json | ||
| README.md | ||
| build.cmd | ||
| build.sh | ||
| korebuild-lock.txt | ||
| korebuild.json | ||
| run.cmd | ||
| run.ps1 | ||
| run.sh | ||
README.md
AuthSamples
This repo contains ASP.NET Core samples for Authentication, Authorization, Identity, etc..
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.
Building from source
To run a complete build on command line only, execute build.cmd or build.sh without arguments.
Before opening this project in Visual Studio or VS Code, execute build.cmd /t:Restore (Windows) or ./build.sh /t:Restore (Linux/macOS).
This will execute only the part of the build script that downloads and initializes a few required build tools and packages.
See developer documentation for more details.