forked from gongxuegit/tiku-backend.net
feat: modularize external providers
This commit is contained in:
@@ -146,13 +146,13 @@ public interface ITenantAdminDirectService
|
||||
CreateTenantDomainCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<TenantAuthProviderItem>> GetAuthProvidersAsync(
|
||||
Task<CatalogList<TenantIdentityProviderItem>> GetAuthProvidersAsync(
|
||||
TenantAdminActor actor,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<ContentManagementResult<TenantAuthProviderItem>> UpsertAuthProviderAsync(
|
||||
Task<ContentManagementResult<TenantIdentityProviderItem>> UpsertAuthProviderAsync(
|
||||
TenantAdminActor actor,
|
||||
UpsertTenantAuthProviderCommand command,
|
||||
UpsertTenantIdentityProviderCommand command,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<TenantAdminBadgeItem>> GetBadgesAsync(
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user