Newer
Older
TestingWithoutInterfaces / src / PublicApi / AuthEndpoints / AuthenticateEndpoint.UserInfo.cs
@Derek Comartin Derek Comartin on 5 Dec 2022 440 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; }
}