@page "/logout"
@inherits PagesBase
@CascadingState.Localizer["Logout"]
@CascadingState.Localizer["Logging out..."]
@code {
[CascadingParameter] CascadingState CascadingState { get; set; }
//[Inject] TokenAuthStateProvider AuthStateProvider { get; set; }
[Inject] SignOutSessionStateManager SignOutSessionStateManager { get; set; }
[Inject] NavigationManager Navigation { get; set; }
protected override async Task OnInitializedAsync()
{
//await AuthStateProvider.LogoutAsync(true);
await SignOutSessionStateManager.SetSignOutState();
Navigation.NavigateTo("authenticatio/logout");
}
}