增加了AuthGate

This commit is contained in:
2026-05-12 09:39:23 +08:00
parent aef62a3472
commit 7a2ff896b2
12 changed files with 325 additions and 36 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace SimApi.Configurations;
public class SimApiAuthGateOptions
{
public string? Server { get; set; }
public string? AppId { get; set; }
public string? AppKey { get; set; }
/// <summary>
/// 开启则使用内部网关透传的Middleware
/// 注意: 只有内部应用需要开启这个,也就是api通过内部网关代理后
/// </summary>
public bool UseMiddleware { get; set; }
}