A sample showing how to add ASP.NET Core Identity auth options to the basic Blazor app.
- Adds ASP.NET Core Identity with Default UI for login, etc.
- Demonstrates use of
AuthorizeView
- Demonstrates use of
CascadingAuthenticationState
inApp.razor
- Demonstrates adding role support to app in
Startup.cs
- Demonstrates use of Claims
- Demonstrates using Claims to drive Policies
- Use of [Authorize] attribute in Razor Server pages
- ASP.NET Core Blazor authentication and authorization
- Role-based authorization in ASP.NET Core
- Claims-based authorization in ASP.NET Core