You can only see this if you are loged in
You can only see this if you satisfy the "Admin" policy.
@using System.Security.Claims
@using Microsoft.AspNetCore.Components.Authorization
@inject AuthenticationStateProvider AuthenticationStateProvider
@inherits LayoutComponentBase
You can only see this if you are loged in
You can only see this if you satisfy the "Admin" policy.
@_authMessage
@if (_claims.Count() > 0) {@_surnameMessage
@code { private string _authMessage; private string _surnameMessage; private IEnumerable