2026-05-12 09:39:23 +08:00
|
|
|
namespace SimApi.Configurations;
|
|
|
|
|
|
2026-05-20 10:53:41 +08:00
|
|
|
public class SimApiAuthCenterOptions
|
2026-05-12 09:39:23 +08:00
|
|
|
{
|
|
|
|
|
public string? Server { get; set; }
|
|
|
|
|
public string? AppId { get; set; }
|
|
|
|
|
public string? AppKey { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开启则使用内部网关透传的Middleware
|
|
|
|
|
/// 注意: 只有内部应用需要开启这个,也就是api通过内部网关代理后
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool UseMiddleware { get; set; }
|
2026-05-12 10:08:00 +08:00
|
|
|
public bool UseIam { get; set; }
|
2026-05-12 09:39:23 +08:00
|
|
|
}
|