initialize
Initializes the Clerk SDK with the provided configuration.
This method must be called before using any other Clerk functionality. It configures the API client, initializes local storage, and begins the authentication state setup.
Parameters
The application context used for initialization and storage setup.
The publishable key from your Clerk Dashboard that connects your app to Clerk.
Throws
if the publishable key format is invalid.
Initializes the Clerk SDK with the provided configuration.
This method must be called before using any other Clerk functionality. It configures the API client, initializes local storage, and begins the authentication state setup.
Parameters
The application context used for initialization and storage setup.
The publishable key from your Clerk Dashboard that connects your app to Clerk.
Enable additional options for the Clerk SDK. See ClerkOptions for details.
Throws
if the publishable key format is invalid.