We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc7d8b commit c87ce39Copy full SHA for c87ce39
1 file changed
aspnetcore/includes/blazor-security/fetchdata-component.md
@@ -15,7 +15,11 @@ If the request failed because the token couldn't be provisioned without user int
15
16
```razor
17
@page "/fetchdata"
18
-...
+@using Microsoft.AspNetCore.Authorization
19
+@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
20
+@inject IAccessTokenProvider AuthenticationService
21
+@inject NavigationManager Navigation
22
+@using {APPLICATION NAMESPACE}.Shared
23
@attribute [Authorize]
24
25
...
0 commit comments