Boost My AgentGet Boost OS
Clerk

Clerk starter module

Authentication

Connects browser sign-in to server-verified sessions so private routes do not trust browser state alone.

Files
4
Lines
206
Languages
TypeScript

Included files

This page lists paths and purposes, not source contents.

  • src/checkout/account-model.ts

    The trusted definition of this app's account model: roles and configuration checks.

    TypeScript

    59 lines

  • src/checkout/current-session.ts

    Verifies the Clerk session used by every protected page and route.

    TypeScript

    73 lines

  • src/checkout/ensure-provisioned.ts

    Ensures a verified Clerk account has exactly one app profile.

    TypeScript

    48 lines

  • src/checkout/session-logout-route.ts

    Revokes the current Clerk session and returns the user to sign-in.

    TypeScript

    26 lines