Newer
Older
eShopOnWeb-VerticalFeatureSlices / src / BlazorShared / Authorization / UserInfo.cs
@Derek Comartin Derek Comartin on 27 Jul 2021 437 bytes Init
using System.Collections.Generic;

namespace BlazorShared.Authorization
{
    public class UserInfo
    {
        public static readonly UserInfo Anonymous = new UserInfo();
        public bool IsAuthenticated { get; set; }
        public string NameClaimType { get; set; }
        public string RoleClaimType { get; set; }
        public string Token { get; set; }
        public IEnumerable<ClaimValue> Claims { get; set; }
    }
}