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.
 
 
 

52 lines
1.3 KiB

namespace Tiobon.Core
{
/// <summary>
/// 权限变量配置
/// </summary>
public static class Permissions
{
public const string Name = "Permission";
/// <summary>
/// 测试网关授权
/// 可以使用Tiobon.Core项目中的test用户
/// 账号:test
/// 密码:test
/// </summary>
public const string GWName = "GW";
/// <summary>
/// 当前项目是否启用IDS4权限方案
/// true:表示启动IDS4
/// false:表示使用JWT
public static bool IsUseIds4 = false;
/// <summary>
/// 当前项目是否启用Authing权限方案
/// true:表示启动
/// false:表示使用JWT
public static bool IsUseAuthing = false;
}
/// <summary>
/// 路由变量前缀配置
/// </summary>
public static class RoutePrefix
{
/// <summary>
/// 前缀名
/// 如果不需要,尽量留空,不要修改
/// 除非一定要在所有的 api 前统一加上特定前缀
/// 前缀在appsettings.json中配置
/// </summary>
public static string Name = "";
}
/// <summary>
/// RedisMqKey
/// </summary>
public static class RedisMqKey
{
public const string Loging = "Loging";
}
}