UNPKG

@softr/sdk

Version:

The SDK for building Softr apps on TanStack Start. It lets an app interact with Softr: auth, datasources, workflows and integrations.

19 lines (17 loc) • 589 B
import { AuthError, Result } from "./utils.js"; //#region src/auth/methods/sso.d.ts /** * Whether a visitor with this email signs in with single sign-on, for a login * page that asks for the email first and routes from there. * * Decided by the email's domain against the domains the builder set for single * sign-on in Softr. It says nothing about whether an account exists, and an * address that is not an email answers `false`. */ declare function discoverSso(details: { email: string; }): Promise<Result<{ sso: boolean; }, AuthError>>; //#endregion export { discoverSso };