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:
Alex Grozav
2026-07-20 13:25:18 +00:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 04d9b40ff9
commit ccb204ab9f
2 changed files with 10 additions and 2 deletions
@@ -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;
+1 -1
View File
@@ -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';