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.
42 lines
1.0 KiB
42 lines
1.0 KiB
namespace Znyc.CloudCar.Auth.Policys
|
|
{
|
|
/// <summary>
|
|
/// Claim属性
|
|
/// </summary>
|
|
public static class Claims
|
|
{
|
|
/// <summary>
|
|
/// 用户Id
|
|
/// </summary>
|
|
public const string UserId = "UserId";
|
|
|
|
/// <summary>
|
|
/// 姓名
|
|
/// </summary>
|
|
public const string UserName = "UserName";
|
|
|
|
/// <summary>
|
|
/// 刷新有效期
|
|
/// </summary>
|
|
public const string RefreshExpires = "RefreshExpires";
|
|
|
|
/// <summary>
|
|
/// 微信认证Id
|
|
/// </summary>
|
|
public const string OpenId = "OpenId";
|
|
|
|
/// <summary>
|
|
/// 权限id
|
|
/// </summary>
|
|
public const string RoleId = "RoleId";
|
|
|
|
/// <summary>
|
|
/// 开放平台Id(区分用户唯一性)
|
|
/// </summary>
|
|
public const string UnionId = "UnionId";
|
|
/// <summary>
|
|
/// SessionKey
|
|
/// </summary>
|
|
public const string SessionKey = "SessionKey";
|
|
}
|
|
}
|