mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 02:06:18 +01:00
Add login form extension point (#2088)
One of our users would like to create a new plugin that provides alternative methods of authentication. For that purpose, we need an additional extension point that can either replace the login form entirely, or extend it by adding login buttons. By default, the extension point simply renders the original login form.
This commit is contained in:
committed by
GitHub
parent
f647e06d3c
commit
8c41fab30d
@@ -44,7 +44,7 @@ import {
|
||||
RepositoryTypeCollection,
|
||||
Tag,
|
||||
User,
|
||||
ContentType
|
||||
ContentType,
|
||||
} from "@scm-manager/ui-types";
|
||||
import { ExtensionPointDefinition } from "./binder";
|
||||
import { RenderableExtensionPointDefinition, SimpleRenderableDynamicExtensionPointDefinition } from "./ExtensionPoint";
|
||||
@@ -650,3 +650,5 @@ export type FileViewActionBarOverflowMenu = ExtensionPointDefinition<
|
||||
ActionMenuProps | ModalMenuProps | LinkMenuProps,
|
||||
ContentActionExtensionProps
|
||||
>;
|
||||
|
||||
export type LoginForm = RenderableExtensionPointDefinition<"login.form">;
|
||||
|
||||
Reference in New Issue
Block a user