Go to file
Mike Rousos 8d0f84ea46 Add IAuthorizationPolicyProvider sample (#31)
* 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
2018-04-26 13:25:07 -07:00
build Reference razor sdk to avoid runtime compilation 2018-04-24 08:59:51 -07:00
samples Add IAuthorizationPolicyProvider sample (#31) 2018-04-26 13:25:07 -07:00
test Create a StaticFilesAuth sample #28 2018-04-20 10:48:36 -07:00
.appveyor.yml Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip] 2018-01-31 15:01:10 -08:00
.gitignore Add IAuthorizationPolicyProvider sample (#31) 2018-04-26 13:25:07 -07:00
.travis.yml Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip] 2018-01-31 15:01:10 -08:00
AuthSamples.sln Add IAuthorizationPolicyProvider sample (#31) 2018-04-26 13:25:07 -07:00
CONTRIBUTING.md
Directory.Build.props Use MSBuild to set NuGet feeds instead of NuGet.config (#9) 2017-11-21 12:39:09 -08:00
Directory.Build.targets Set NETStandardImplicitPackageVersion via dependencies.props 2018-04-19 16:30:18 -07:00
LICENSE.txt
NuGet.config Use MSBuild to set NuGet feeds instead of NuGet.config (#9) 2017-11-21 12:39:09 -08:00
NuGetPackageVerifier.json Add NuGetPackageVerifier 2018-03-21 10:39:01 -07:00
README.md
build.cmd
build.sh Make build.sh executable 2017-12-04 10:43:05 -08:00
korebuild-lock.txt Update dependencies.props 2018-04-23 11:58:57 -07:00
korebuild.json Branching for 2.1.0-rc1 2018-04-16 13:15:15 -07:00
run.cmd
run.ps1 Update bootstrappers 2017-12-04 12:13:12 -08:00
run.sh Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip] 2018-01-31 15:01:10 -08:00

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.