Skip to main content

Android

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

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): The SignIn composable renders a full app-native sign-in form.

  • SignInButton (component): The SignInButton composable renders a pre-styled button that calls an onClick lambda when tapped.

  • SignOutButton (component): The SignOutButton composable renders a pre-styled button that calls ThunderIDClient.signOut(), then calls ThunderIDState.refresh() to update the reactive auth state.

  • SignUp (component): The SignUp composable renders a full app-native registration form.

  • SignedIn (component): The SignedIn composable conditionally renders its content only when the user is authenticated.

  • SignedOut (component): The SignedOut composable conditionally renders its content only when the user is not authenticated.

  • UserProfile (component): The UserProfile composable renders an editable profile form.

  • ChangeCredential (component): The ChangeCredential composable renders a form that lets a signed-in user set a new value for one of their own credentials.

Functions​

  • Configuration (function): ThunderIDConfig is the configuration data class passed to ThunderIDClient.initialize(config, storage) and to the ThunderIDProvider composable.

  • ThunderIDClient (function): ThunderIDClient is the core authentication client in the dev.thunderid:android library.

  • ThunderIDState (function): ThunderIDState is the reactive authentication state class provided by the dev.thunderid:compose library.

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?