mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-23 16:59:48 +01:00
Revert "Remove plugin center authentication"
This reverts commit d353c9a96b.
This commit is contained in:
@@ -35,6 +35,7 @@ export type Config = HalRepresentation & {
|
||||
proxyExcludes: string[];
|
||||
skipFailedAuthenticators: boolean;
|
||||
pluginUrl: string;
|
||||
pluginAuthUrl: string;
|
||||
loginAttemptLimitTimeout: number;
|
||||
enabledXsrfProtection: boolean;
|
||||
enabledUserConverter: boolean;
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user