Skip to main content

SDK and API coverage

Use this page when you are choosing how to integrate Switera into an application or backend service. The matrix reflects the packages that exist in the current repository and the launch API families exposed by the Switera API.

Integration paths

Integration needRecommended pathNotes
Browser or framework authentication@switera/auth plus a framework adapterBest for hosted login, OAuth callback handling, sessions, MFA, SSO, passkeys, OTP, and magic links.
Trusted backend automationGo, Python, PHP, Ruby, or direct RESTUse an app-scoped secret key from your backend only. Do not ship secret keys to browsers or mobile apps.
Embedded sign-in UI@switera/widgetsUse for a small hosted-auth surface inside a builder-owned app.
Mobile app authenticationReact Native, Flutter, Android, or Swift packagesMobile packages are launch scaffolds unless noted otherwise below.
AI-assisted platform operationsMCP packagesUse only in controlled developer environments with least-privilege tokens.
Unsupported language or full route coverageDirect RESTThe generated reference in docs/api-docs tracks the current backend route surface.

SDK package matrix

PackageRuntimeLaunch statusCovered surface
@switera/authBrowser TypeScriptReady for Auth launch flowsOAuth2/PKCE, hosted auth redirects, session state, profile, MFA, SSO/LDAP, passkeys, OTP, magic links, invitations, metadata, privileged sessions, browser Search, current-user Feature Flags, and Realtime token helpers.
@switera/auth-reactReactReady for Auth launch flowsProvider, hooks, guards, sign-in/sign-up components, user and organization components, current-user Feature Flags.
@switera/auth-nextjsNext.jsReady for Auth launch flowsServer auth helpers, middleware, route protection, shared browser auth client exports.
@switera/auth-nodeNode.js serversReady for Auth launch flowsExpress, Fastify, Hono, and token introspection helpers.
@switera/auth-svelteSvelteReady for Auth launch flowsProvider, guards, signed-in/signed-out helpers, user auth state, current-user Feature Flags.
@switera/auth-vueVueReady for Auth launch flowsVue auth adapter around the core browser client.
@switera/auth-angularAngularReady for Auth launch flowsAngular auth service and route guards.
@switera/widgetsBrowser widgetsPartial launch supportLogin, signup, user button, and organization switcher widgets.
github.com/switera/switera-goGo backendBroad launch backend coverageUsers, organizations, auth settings, SSO, FGA, Vault, audit logs, auth hooks, managed Email, customer Webhooks, directory sync, sessions.
switeraPython backendBroad launch backend coverageUsers, organizations, auth settings, SSO, FGA, Vault, audit logs, auth hooks, managed Email, customer Webhooks, directory sync, sessions.
switera/sdkPHP backendBroad launch backend coverageUsers, organizations, auth settings, SSO, FGA, Vault, audit logs, auth hooks, managed Email, customer Webhooks, directory sync, sessions.
switeraRuby backendBroad launch backend coverageUsers, organizations, auth settings, SSO, FGA, Vault, audit logs, auth hooks, managed Email, customer Webhooks, directory sync, sessions.
com.switera:switera-javaJava backendScaffoldPackage metadata and baseline HTTP dependencies exist; route resources are not launch-complete.
Switera.NET backendScaffoldPackage metadata exists; route resources are not launch-complete.
@switera/react-nativeReact NativePartial launch supportMobile auth package scaffold with typed entrypoint.
switeraFlutter/DartScaffoldPackage metadata and mobile auth dependencies exist.
com.switera.sdkAndroid/KotlinScaffoldLibrary package metadata and mobile auth dependencies exist.
SwiteraSwiftScaffoldSwift package manifest exists.
@switera/mcp-serverMCPPartial launch supportPlatform administration helper for controlled developer environments.
@switera/mcp-contextMCPPartial launch supportEnd-user context provider for AI assistant integrations.

Product API coverage

Product areaREST APIGoPythonPHPRubyBrowser/framework auth SDKsNotes
Auth, sessions, hosted loginYesPartialPartialPartialPartialYesBrowser/framework SDKs are the main path for end-user auth. Backend SDKs cover admin/user/session surfaces.
Users and organizationsYesYesYesYesYesLimitedUse backend SDKs for admin workflows and tenant management.
SSO and directory syncYesYesYesYesYesSSO login helpers onlyBackend SDKs manage provider configuration; browser SDKs start login flows.
MFA, passkeys, OTP, magic linksYesLimitedLimitedLimitedLimitedYesEnd-user ceremony helpers live primarily in browser/framework SDKs.
FGAYesYesYesYesYesNoBackend-only launch surface.
VaultYesYesYesYesYesNoBackend-only; keep key and payload workflows off browsers.
EmailYesYesYesYesYesNoManaged Email config, route test, workflow test-run, runtime, suppressions, and previews are backend/admin workflows.
Customer WebhooksYesYesYesYesYesNoBackend SDKs cover endpoints, event catalog, delivery history, replay, test sends, and emits where implemented.
BillingYesDirect RESTDirect RESTDirect RESTDirect RESTNoPublic docs cover the launch routes; typed SDK resources are still later work.
Storage objectsYesDirect RESTDirect RESTDirect RESTDirect RESTNoUse the REST API and examples until typed SDK resources land.
Managed DataYesDirect RESTDirect RESTDirect RESTDirect RESTNoUse the REST API and examples until typed SDK resources land.
SearchYesYesYesDirect RESTDirect RESTTenant token/query helpersGo and Python cover trusted server-side indexes, documents, and queries. Browser auth SDKs cover short-lived tenant token issuance and browser-safe query.
Feature FlagsYesYesYesDirect RESTDirect RESTCurrent-user evaluationGo and Python cover trusted server-side flag CRUD and evaluation. Browser/framework auth SDKs evaluate flags for the signed-in user without exposing a secret app key.
RealtimeYesDirect RESTDirect RESTDirect RESTDirect RESTConnection/subscription token helpersBrowser auth SDKs issue signed tokens for the current user. Server-side publish SDK wrappers are still later work.
API keys and usageYesDirect RESTDirect RESTDirect RESTDirect RESTNoTrusted backend calls can use REST for key controls and usage rollups.

Generated API reference

The repository includes a generated Markdown reference under docs/api-docs, refreshed from src/api/docs/swagger.json. It is useful for implementers and SDK work because it tracks the backend route surface directly.

The public docs intentionally keep the machine-generated reference separate from the main navigation until operation IDs, model names, and examples are fully curated for external readers. Use the task pages first, then use the generated reference for exact route names and request/response shapes.

SDK smoke checks

The repository includes a package smoke runner for launch readiness:

scripts/smoke-sdks.sh

The runner installs and builds available JavaScript packages, imports their public entrypoints where safe, runs Go SDK tests, runs Python SDK tests in an isolated virtual environment, and checks other language packages when their toolchains are installed. Jenkins runs the same script with Node, Go, and Python available before image builds.

Refresh command

From the repository root:

scripts/refresh-api-docs.sh

The script regenerates the Swagger source from Go annotations and then rebuilds docs/api-docs from that Swagger file.

Current launch gaps

  • Billing, Storage, Managed Data, Realtime publish, and API-key management need first-class typed resources in the backend SDKs. Search, Feature Flags, and Realtime now have first browser-safe helpers, with broader language parity still later work.
  • Java, C#, Flutter, Android, Swift, and React Native packages have smoke coverage only when the matching local or CI toolchain is available.
  • Generated operation IDs still need curation before the machine-generated API reference should become the main public reference.