Changes:
* Make Visual Studio 2019 a prerequisite for building this repo
* Update .sln files
* Update Windows SDK to 17134
* Update developer docs
* Disable ANCM tests
* Update to .NET Core SDK 3.0 Preview 2
* Use Microsoft.NET.Sdk.Razor as a package consistently accross the repo
* React to changes in metadata from Microsoft.NETCore.App
* React to changes in .NET Core SDK
* Attempt to workaround CodeCheck.ps1 failure which doesn't repro locally or on different agents. Possibly due to differences in the version of the PowerShell task?
* Remove dead YML file
* Rename usages of win7-{x64,x86} to win-{x64,x86}
* Update KoreBuild to 3.0.0-build-20190219.1
|
||
|---|---|---|
| .. | ||
| Controllers | ||
| Pages | ||
| wwwroot | ||
| DynamicSchemes.csproj | ||
| Program.cs | ||
| README.md | ||
| SimpleAuthHandler.cs | ||
| Startup.cs | ||
| appsettings.Development.json | ||
| appsettings.json | ||
| bundleconfig.json | ||
README.md
AuthSamples.DynamicSchemes
Sample demonstrating dynamic authentication schemes and options:
- Run the app, the Home page will show all the authentication schemes.
- You can add new schemes via the form at the bottom, and remove any via the Remove button.
- You can also update any of the scheme options message via the add/update form.
Index.cshtml and Controllers/AuthController.cs are the most interesting classes in the sample, as they demonstrate how to add/remove schemes and update the corresponding named options dynamically.