Clerk
Main entrypoint class for the Clerk SDK.
Provides access to authentication state, user information, and core functionality for managing user sessions and sign-in flows.
Properties
The current session only if its status is ACTIVE.
The current user only if the session status is ACTIVE.
Clerk theme configuration for customizing the appearance of authentication UI components.
A list of enabled first factor attributes, sorted by priority.
Reactive state for initialization errors.
Indicates whether the 'First Name' field is enabled for user profiles.
Indicates whether Google One Tap sign-in is enabled for the application.
Reactive state indicating whether the Clerk SDK has completed initialization.
Indicates whether the last name field is enabled for user profiles.
Indicates whether a user is currently signed in.
Indicates whether MFA (Multi-Factor Authentication) via backup codes is enabled.
Indicates whether MFA (Multi-Factor Authentication) via phone code is enabled.
The image URL for the application logo used in authentication UI components.
The URL of the Privacy Policy page for the application.
The publishable key from Clerk Dashboard used for API authentication.
Reactive state for the current user session.
Map of available social authentication providers configured for this application.
Whether to enable telemetry for the SDK.
Functions
Initializes the Clerk SDK with the provided configuration.
Manually triggers a reinitialization attempt after a failed initialization.