mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
13 lines
561 B
TypeScript
13 lines
561 B
TypeScript
|
import { getForwardAuthLoginSystem } from 'app/server/lib/ForwardAuthLogin';
|
||
|
import { GristLoginSystem } from 'app/server/lib/GristServer';
|
||
|
import { getMinimalLoginSystem } from 'app/server/lib/MinimalLogin';
|
||
|
import { getOIDCLoginSystem } from 'app/server/lib/OIDCConfig';
|
||
|
import { getSamlLoginSystem } from 'app/server/lib/SamlConfig';
|
||
|
|
||
|
export async function getCoreLoginSystem(): Promise<GristLoginSystem> {
|
||
|
return await getSamlLoginSystem() ||
|
||
|
await getOIDCLoginSystem() ||
|
||
|
await getForwardAuthLoginSystem() ||
|
||
|
await getMinimalLoginSystem();
|
||
|
}
|