* migrate from classic controller to minimal api * fix all PublicApi integration test * update all nuget package add forget project * fix pay now * Adapt readme use in memory database * undo AuthenticateEndpoint to use EndpointBaseAsync * Update README.md Co-authored-by: Steve Smith <steve@kentsmiths.com> Co-authored-by: Steve Smith <steve@kentsmiths.com>
16 lines
440 B
C#
16 lines
440 B
C#
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; }
|
|
}
|