diff --git a/aspnetcore/blazor/security/webassembly/additional-scenarios.md b/aspnetcore/blazor/security/webassembly/additional-scenarios.md index d42f7d4743..1e64d8c444 100644 --- a/aspnetcore/blazor/security/webassembly/additional-scenarios.md +++ b/aspnetcore/blazor/security/webassembly/additional-scenarios.md @@ -664,144 +664,80 @@ The following example shows how to: * Preserve state before redirecting to the login page. * Recover the previous state after authentication using a query string parameter. -:::moniker range=">= aspnetcore-6.0" - ```razor ... +@using System.Text.Json @using Microsoft.AspNetCore.Components.WebAssembly.Authentication @inject IAccessTokenProvider TokenProvider @inject IJSRuntime JS @inject NavigationManager Navigation - -