mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-30 19:35:36 +08:00
feat(editor): Expose AuthenticationMethod as a runtime import from @n8n/api-types (no-changelog) (#34559)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
04d9b40ff9
commit
ccb204ab9f
@@ -29,7 +29,15 @@ export interface ITelemetrySettings {
|
||||
config?: ITelemetryClientConfig;
|
||||
}
|
||||
|
||||
export type AuthenticationMethod = 'email' | 'ldap' | 'saml' | 'oidc' | 'token-exchange';
|
||||
export const AuthenticationMethod = {
|
||||
Email: 'email',
|
||||
Ldap: 'ldap',
|
||||
Saml: 'saml',
|
||||
Oidc: 'oidc',
|
||||
TokenExchange: 'token-exchange',
|
||||
} as const;
|
||||
|
||||
export type AuthenticationMethod = (typeof AuthenticationMethod)[keyof typeof AuthenticationMethod];
|
||||
|
||||
export interface IUserManagementSettings {
|
||||
quota: number;
|
||||
|
||||
@@ -3,7 +3,7 @@ export type * from './datetime';
|
||||
export * from './dto';
|
||||
export type * from './push';
|
||||
export type * from './scaling';
|
||||
export type * from './frontend-settings';
|
||||
export * from './frontend-settings';
|
||||
export type * from './user';
|
||||
export type * from './api-keys';
|
||||
export type * from './community-node-types';
|
||||
|
||||
Reference in New Issue
Block a user