JavaScript
Framework-agnostic core that powers the browser, Node, and platform SDKs.
API reference
Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.
See the full API reference for every export, its signature and an example.
Flows
-
Embedded Recovery Flow (V2)(export):executeEmbeddedRecoveryFlowV2drives a step-by-step account recovery flow (e.g., password reset) without a browser redirect. -
Embedded Sign-In Flow (V1)(export): These functions implement app-native (embedded) sign-in for the V1 flow protocol. -
Embedded Sign-In Flow (V2)(export):executeEmbeddedSignInFlowV2drives a step-by-step sign-in sequence using the V2 flow protocol. -
Embedded Sign-Up Flow (V1)(export):executeEmbeddedSignUpFlowdrives a step-by-step registration flow without a browser redirect. -
Embedded Sign-Up Flow (V2)(export):executeEmbeddedSignUpFlowV2drives a step-by-step user registration flow using the V2 protocol. -
Flow Meta (V2)(export):getFlowMetaV2fetches aggregated metadata for a V2 flow context, including application branding, organization unit details, theme configuration, and available translations. -
User Onboarding Flow (V2)(export):executeEmbeddedUserOnboardingFlowV2drives a post-sign-in onboarding sequence (e.g., profile completion, consent collection) without a browser redirect.
Functions
-
Branding(function): The branding functions fetch the visual configuration (colors, logos, typography) defined in the Choreo Identity & Access Management Console and apply it to your UI. -
Configuration(function): Theinitialize()method accepts a configuration object (AuthClientConfig) that controls how the SDK connects to your Choreo Identity & Access Management instance and manages authentication. -
Errors(function): The SDK uses a hierarchy of typed error classes. -
HttpClient(function):HttpClientis an abstract base class that provides handler lifecycle management, request/response callbacks, and parallel request utilities. -
Internationalization(function): The SDK ships with built-in translation bundles for Choreo Identity & Access Management UI components and provides utilities for loading, extending, and normalizing translations. -
StorageManager(function):StorageManageris the typed storage layer used internally byThunderIDJavaScriptClient. -
Theme(function): The theme system provides a structured way to define colors, typography, spacing, and other visual properties used by Choreo Identity & Access Management UI components. -
ThunderIDJavaScriptClient(function):ThunderIDJavaScriptClientis the base class that all platform-specific Choreo Identity & Access Management clients extend. -
Utilities(function): The SDK exports a set of utility functions used internally by platform SDKs and available to custom integrations.
User
-
User Profile(export): These functions read and update user profile data from the OIDC userinfo endpoint. -
User Schemas(export): The SDK provides helpers for working with user schema data.
Was this page helpful?