API reference
Components
Functions
component
SignInThe
SignIn composable renders a full app-native sign-in form. It drives the Flow Execution API loop automatically: initiating the flow, presenting the server-defined inputs and actions on each step, and completing when the user is authenticated. SignIn requires ThunderIDProvider in its ancestor composable hierarchy.Parameters
applicationIdrequiredStringThe Application ID from your ThunderID application settings. Identifies which sign-in flow to execute.
modifieroptionalModifierCompose modifier applied to the form container.
onCompleteoptional(() -> Unit)?Called when authentication completes successfully.
onErroroptional((String) -> Unit)?Called with an error message when a flow step fails.
Example
import dev.thunderid.compose.components.presentation.auth.SignIn
@Composable
fun AuthView(applicationId: String) {
SignIn(
applicationId = applicationId,
modifier = Modifier.fillMaxWidth().padding(16.dp)
)
}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.