feat: modularize external providers

This commit is contained in:
2026-07-27 17:47:21 +08:00
parent db4c7b4496
commit 70b99e6063
47 changed files with 1219 additions and 667 deletions

View File

@@ -189,10 +189,12 @@ public sealed record CreateTenantDomainCommand(
string? DomainType,
bool IsPrimary);
public sealed record UpsertTenantAuthProviderCommand(
public sealed record UpsertTenantIdentityProviderCommand(
string Provider,
string? Status,
string? DisplayName,
string? SecretRef,
int? Priority,
JsonElement ConfigPublic);
public sealed record UpsertTenantAdminBadgeCommand(
@@ -467,11 +469,13 @@ public sealed record TenantDomainItem(
DateTimeOffset CreatedAt,
DateTimeOffset UpdatedAt);
public sealed record TenantAuthProviderItem(
public sealed record TenantIdentityProviderItem(
Guid Id,
string Provider,
TenantAuthProviderStatus Status,
TenantExternalProviderStatus Status,
string? DisplayName,
string? SecretRef,
int Priority,
JsonElement ConfigPublic,
DateTimeOffset CreatedAt,
DateTimeOffset UpdatedAt);