|
|
||
|---|---|---|
| .. | ||
| 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.