Arnaud Dartois
|
129bcfa9d7
|
feat(ui): Blazor auth redirect + CascadingAuthenticationState
- Routes: wrap with CascadingAuthenticationState + AuthorizeRouteView
- RedirectToLogin: component that redirects unauthenticated users to /login
- HeimdallAuthStateProvider: NotifyLogin/NotifyLogout methods
- Login/Register/MainLayout: use AuthStateProvider.NotifyLogin/Logout
instead of direct AuthState mutation (triggers Blazor auth cascade)
- _Imports: add Microsoft.AspNetCore.Components.Authorization
|
2026-07-17 07:05:07 +00:00 |
|