n8n
Version:
n8n Workflow Automation Tool
16 lines (15 loc) • 1.02 kB
TypeScript
import { type AuthProviderType } from '@n8n/db';
export declare function setCurrentAuthenticationMethod(authenticationMethod: AuthProviderType): Promise<void>;
export declare function reloadAuthenticationMethod(): Promise<void>;
export declare function getCurrentAuthenticationMethod(): AuthProviderType;
export declare function isSamlCurrentAuthenticationMethod(): boolean;
export declare function isSamlLoginEnabled(): boolean;
export declare function getSamlLoginLabel(): string;
export declare function isSamlLicensed(): boolean;
export declare function isSamlLicensedAndEnabled(): boolean;
export declare function isLdapCurrentAuthenticationMethod(): boolean;
export declare function isOidcCurrentAuthenticationMethod(): boolean;
export declare function isSsoCurrentAuthenticationMethod(): boolean;
export declare function isEmailCurrentAuthenticationMethod(): boolean;
export declare function isSsoJustInTimeProvisioningEnabled(): boolean;
export declare function doRedirectUsersFromLoginToSsoFlow(): boolean;