智慧建筑第三方功能集成微服务,目的是聚集所有涉及到第三方厂商调用的功能,按照业务功能划分不同微服务
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.
 
 
 
 

32 lines
1.1 KiB

using System;
using System.Collections.Generic;
using System.Text;
namespace Video.Application
{
public class IdentityClientConfig
{
public string Scheme { get; set; } = string.Empty;
public string Authority { get; set; } = string.Empty;
public bool RequireHttpsMetadata { get; set; }
public string ApiName { get; set; } = string.Empty;
public string[] CorsWithOrigins { get; set; } = [];
public string ClientSecret { get; set; } = string.Empty;
public string ClientId { get; set; } = string.Empty;
public string Scope { get; set; } = string.Empty;
public string GrantType { get; set; } = string.Empty;
}
public class IdentityClientConfigV4
{
public string PolicyScheme { get; set; } = string.Empty;
public List<IdentityClientConfigItemV4> Items { get; set; } = [];
}
public class IdentityClientConfigItemV4
{
public string Scheme { get; set; } = string.Empty;
public string Authority { get; set; } = string.Empty;
public bool RequireHttpsMetadata { get; set; }
}
}