添加项目文件。

This commit is contained in:
2023-03-13 15:00:34 +08:00
parent 42bf06ca3e
commit 1d73df3235
1205 changed files with 185078 additions and 0 deletions

View 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";
}