Newer
Older
eShopOnWeb-MessageDriven / src / BlazorShared / Authorization / UserInfo.cs
@Derek Comartin Derek Comartin on 29 Jun 2021 437 bytes Add NServiceBus
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; }
    }
}