@using Microsoft.AspNetCore.Components.WebAssembly.Authentication @inject NavigationManager Navigation Hello, @context.User.Identity?.Name! Log in @code{ public void BeginLogOut() { Navigation.NavigateToLogout("authentication/logout"); } }