Revert "Remove plugin center authentication"

This reverts commit d353c9a96b.
This commit is contained in:
Till-André Diegeler
2025-06-06 11:27:16 +02:00
parent d353c9a96b
commit 6165bd3d63
89 changed files with 3135 additions and 76 deletions

View File

@@ -35,6 +35,7 @@ export type Config = HalRepresentation & {
proxyExcludes: string[];
skipFailedAuthenticators: boolean;
pluginUrl: string;
pluginAuthUrl: string;
loginAttemptLimitTimeout: number;
enabledXsrfProtection: boolean;
enabledUserConverter: boolean;

View File

@@ -16,6 +16,8 @@
import { HalRepresentation, HalRepresentationWithEmbedded } from "./hal";
type PluginType = "SCM" | "CLOUDOGU";
export type PluginSet = HalRepresentation & {
id: string;
name: string;
@@ -35,6 +37,7 @@ export type Plugin = HalRepresentation & {
category: string;
avatarUrl?: string;
pending: boolean;
type: PluginType;
markedForUninstall?: boolean;
dependencies: string[];
optionalDependencies: string[];
@@ -59,3 +62,11 @@ export type PendingPlugins = HalRepresentationWithEmbedded<{
update: Plugin[];
uninstall: Plugin[];
}>;
export type PluginCenterAuthenticationInfo = HalRepresentation & {
principal?: string;
pluginCenterSubject?: string;
date?: string;
default: boolean;
failed: boolean;
};