38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
/**
|
|
* Phase 09 Task #82 — Public surface of the admin-sso module.
|
|
*
|
|
* Re-exports the small set of helpers consumed by the auth routes and the
|
|
* admin-login UI. Internal helpers stay file-local.
|
|
*/
|
|
export { AdminSsoConfigError, getAdminSsoClient, isAdminSsoConfigured, readAdminSsoEnv, type AdminSsoEnv } from "./client.server";
|
|
export {
|
|
ADMIN_SSO_CHALLENGE_COOKIE,
|
|
ADMIN_SSO_CHALLENGE_TTL_MS,
|
|
clearAdminSsoChallengeCookie,
|
|
consumeAdminSsoChallenge,
|
|
createAdminSsoChallenge,
|
|
type AdminSsoChallengePayload,
|
|
} from "./state.server";
|
|
export {
|
|
ADMIN_GROUP,
|
|
ALLOWED_ADMIN_GROUPS,
|
|
STAFF_GROUP,
|
|
extractAdminSsoClaims,
|
|
hasAllowedAdminGroup,
|
|
isAllowedAdminGroup,
|
|
mapGroupsToRole,
|
|
type AdminSsoClaims,
|
|
type AdminSsoRole,
|
|
type AuthentikGroup,
|
|
type ClaimExtractionResult,
|
|
} from "./claims.server";
|
|
export {
|
|
ADMIN_SSO_PROVIDER,
|
|
JitProvisioningError,
|
|
jitProvisionAdmin,
|
|
type JitProvisionedAdmin,
|
|
type JitProvisioningDbClient,
|
|
type JitProvisioningInput,
|
|
type JitProvisioningResult,
|
|
} from "./jit-provisioning.server";
|