@page "/logout" @inject IAccountManagement Acct

Logout

Logging you out...

Thanks for playing!

You're logged out. Log in.
@code { private AuthorizeView? authView; protected override async Task OnInitializedAsync() { if (await Acct.CheckAuthenticatedAsync()) { await Acct.LogoutAsync(); } await base.OnInitializedAsync(); } }