You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
395 B
13 lines
395 B
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 IEnumerable<ClaimValue> Claims { get; set; }
|
|
}
|
|
}
|
|
|