Skip to main content

Concepts overview

A short map of the model before you build. Each concept has its own page.

ConceptOne-liner
Projects & environmentsA project is a tenant; each has isolated live / test / staging environments (Stripe-style).
Principals & credentialsThree planes — operator (master key), project admin (admin token), end user (session) — plus service accounts, API keys and SCIM tokens.
Sessions & tokensSigned JWT access tokens + rotating refresh tokens, AAL1/AAL2, sliding refresh, per-project session policy.
Registrationopen / invite_only / request_access / closed, plus password strategy.
MFATOTP, email, SMS, WebAuthn factors + recovery codes; step-up to AAL2.
Webhooks & hooksAsync signed webhooks for events; synchronous blocking hooks in the auth path.
OIDC & federationBe an OIDC provider; connect upstream OIDC/SAML IdPs and SCIM.
Signing keysRS256 keys per project environment, their rotation, and token profiles.

The request model in one picture​

Every runtime request identifies:

  1. Which tenant — the X-Client-Id header (the project id).
  2. Which environment — the X-Environment header (live by default).
  3. Who is calling — a bearer credential in Authorization (or a cookie for browsers), whose kind determines which API surface it may touch.

API namespaces​

PrefixAudienceCredential
/v1/...Runtime (end users)user session (bearer/cookie) + X-Client-Id
/v1/projects/{id}/admin/...Project adminadminToken
/mgmt/v1/...OperatormasterKey
/oauth2/..., /p/{id}/e/{env}/.well-known/...OIDC providerOAuth client credentials
/v1/scim/v2/{connection_id}/...SCIM provisioningscimToken

The OpenAPI spec is the authoritative contract for all of them.