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
.gitignore Add IAuthorizationPolicyProvider sample (#31) 2018-04-26 13:25:07 -07:00
.travis.yml
AuthSamples.sln Add IAuthorizationPolicyProvider sample (#31) 2018-04-26 13:25:07 -07:00
CONTRIBUTING.md
Directory.Build.props
Directory.Build.targets Set NETStandardImplicitPackageVersion via dependencies.props 2018-04-19 16:30:18 -07:00
LICENSE.txt
NuGet.config
NuGetPackageVerifier.json Add NuGetPackageVerifier 2018-03-21 10:39:01 -07:00
README.md
build.cmd
build.sh
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
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.