@cfxlabsinc/b2b-services
    Preparing search index...
    type LogoutClientProps = {
        endAppSession: () => Promise<{ logoutUrl: string | null }>;
        loginHref: string;
        withoutHostedLogout?: "redirect" | "settle";
    }
    Index
    endAppSession: () => Promise<{ logoutUrl: string | null }>

    The app's server action: ends its session and returns the pool's hosted logout when the session came through Google or SSO, else null.

    loginHref: string

    The app's login, for when there is no hosted logout to visit.

    withoutHostedLogout?: "redirect" | "settle"

    Without a hosted logout: "redirect" to loginHref, or "settle" here with a Log in link, for a login that would sign straight back in.