添加项目文件。
This commit is contained in:
45
common/Tnb.Common/Const/ClaimConst.cs
Normal file
45
common/Tnb.Common/Const/ClaimConst.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using JNPF.DependencyInjection;
|
||||
|
||||
namespace JNPF.Common.Const;
|
||||
|
||||
/// <summary>
|
||||
/// Claim常量.
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class ClaimConst
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户Id.
|
||||
/// </summary>
|
||||
public const string CLAINMUSERID = "UserId";
|
||||
|
||||
/// <summary>
|
||||
/// 用户姓名.
|
||||
/// </summary>
|
||||
public const string CLAINMREALNAME = "UserName";
|
||||
|
||||
/// <summary>
|
||||
/// 账号.
|
||||
/// </summary>
|
||||
public const string CLAINMACCOUNT = "Account";
|
||||
|
||||
/// <summary>
|
||||
/// 是否超级管理.
|
||||
/// </summary>
|
||||
public const string CLAINMADMINISTRATOR = "Administrator";
|
||||
|
||||
/// <summary>
|
||||
/// 连接字符串配置.
|
||||
/// </summary>
|
||||
public const string CONNECTIONCONFIG = "ConnectionConfig";
|
||||
|
||||
/// <summary>
|
||||
/// 租户ID.
|
||||
/// </summary>
|
||||
public const string TENANTID = "TenantId";
|
||||
|
||||
/// <summary>
|
||||
/// 单一登录方式(1:后登录踢出先登录 2:同时登录).
|
||||
/// </summary>
|
||||
public const string SINGLELOGIN = "SingleLogin";
|
||||
}
|
||||
Reference in New Issue
Block a user