SignInFactorCodeView

fun SignInFactorCodeView(factor: Factor, modifier: Modifier = Modifier, isSecondFactor: Boolean = false, isClientTrust: Boolean = false, clerkTheme: ClerkTheme? = null, onAuthComplete: () -> Unit)

A Composable that displays a verification code input screen for sign-in authentication factors.

This component handles various authentication strategies including:

  • Email verification codes

  • SMS verification codes

  • Password reset codes

  • TOTP codes for two-factor authentication

The view automatically prepares the factor for verification and provides a code input field with resend functionality and timer countdown.

Parameters

factor

The authentication factor containing strategy and identifier information

modifier

Optional Modifier to customize the appearance and behavior

Samples