- 配置AuthService使用OpenIddict reference tokens - 添加fengling-api客户端用于introspection验证 - 配置Console API通过OpenIddict验证reference tokens - 实现Tenant/Users/Roles/OAuthClients CRUD API - 添加GatewayController服务注册API - 重构Repository和Service层支持多租户 BREAKING CHANGE: API认证现在使用OpenIddict reference tokens
17 lines
617 B
C#
17 lines
617 B
C#
namespace Fengling.Console.Models.Dtos;
|
|
|
|
public record CreateClientDto
|
|
{
|
|
public string ClientId { get; init; } = string.Empty;
|
|
public string? ClientSecret { get; init; }
|
|
public string DisplayName { get; init; } = string.Empty;
|
|
public string[]? RedirectUris { get; init; }
|
|
public string[]? PostLogoutRedirectUris { get; init; }
|
|
public string[]? Scopes { get; init; }
|
|
public string[]? GrantTypes { get; init; }
|
|
public string? ClientType { get; init; }
|
|
public string? ConsentType { get; init; }
|
|
public string? Status { get; init; }
|
|
public string? Description { get; init; }
|
|
}
|