Newer
Older
eShopOnWeb-VerticalFeatureSlices / src / PublicApi / AuthEndpoints / Authenticate.UserInfo.cs
@Derek Comartin Derek Comartin on 27 Jul 2021 474 bytes Init
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Microsoft.eShopWeb.PublicApi.AuthEndpoints
{
    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 IEnumerable<ClaimValue> Claims { get; set; }
    }
}