Android
Native Kotlin SDK with hosted login and secure token storage.
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.
Components
-
SignIn(component): TheSignIncomposable renders a full app-native sign-in form. -
SignInButton(component): TheSignInButtoncomposable renders a pre-styled button that calls anonClicklambda when tapped. -
SignOutButton(component): TheSignOutButtoncomposable renders a pre-styled button that callsThunderIDClient.signOut(), then callsThunderIDState.refresh()to update the reactive auth state. -
SignUp(component): TheSignUpcomposable renders a full app-native registration form. -
SignedIn(component): TheSignedIncomposable conditionally renders its content only when the user is authenticated. -
SignedOut(component): TheSignedOutcomposable conditionally renders its content only when the user is not authenticated. -
UserProfile(component): TheUserProfilecomposable renders an editable profile form. -
ChangeCredential(component): TheChangeCredentialcomposable renders a form that lets a signed-in user set a new value for one of their own credentials.
Functions
-
Configuration(function):ThunderIDConfigis the configuration data class passed toThunderIDClient.initialize(config, storage)and to theThunderIDProvidercomposable. -
ThunderIDClient(function):ThunderIDClientis the core authentication client in thedev.thunderid:androidlibrary. -
ThunderIDState(function):ThunderIDStateis the reactive authentication state class provided by thedev.thunderid:composelibrary.
Get started
Provider, session, and a protected route, start to finish.
Connect your application: Getting started / Connect your application / Android
The quickstart is maintained alongside the rest of the getting-started guides so it stays in step with the platform. This page covers the package itself.
Guides
Task-focused walkthroughs maintained alongside the SDK.
-
Accessing Protected APIs: Make authenticated API requests from an Android application using OkHttp with automatic bearer token injection.
-
Try the Android Sample App: Run the Choreo Identity & Access Management Android sample app to see the full authentication lifecycle end to end.
Was this page helpful?