1 write to User
Microsoft.AspNetCore.Components.Authorization (1)
AuthenticationState.cs (1)
20
User
= user;
5 references to User
Aspire.Dashboard (2)
Components\Controls\UserProfile.razor.cs (1)
46
var claimsIdentity = authState.
User
.Identity as ClaimsIdentity;
Components\Pages\Login.razor.cs (1)
60
if (state.
User
.Identity?.IsAuthenticated ?? false)
Microsoft.AspNetCore.Components.Authorization (2)
AuthenticationStateData.cs (1)
14
/// The client-readable claims that describe the <see cref="AuthenticationState.
User
"/>.
AuthorizeViewCore.cs (1)
91
isAuthorized = await IsAuthorizedAsync(currentAuthenticationState.
User
);
Microsoft.AspNetCore.Components.Server (1)
Circuits\RevalidatingServerAuthenticationStateProvider.cs (1)
64
if (authenticationState.
User
.Identity?.IsAuthenticated == true)