SignInFactorAlternativeMethodsView

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

A view that displays alternative sign-in methods.

This component can be used for both first-factor and second-factor authentication steps, showing a list of available methods like social providers (for first factor), or other verification strategies (e.g., password, phone code).

Parameters

currentFactor

The factor that the user is currently trying to authenticate with. This is used to determine which alternative factors to show.

modifier

The Modifier to be applied to the view.

isSecondFactor

A flag indicating whether the view is being used for a second-factor authentication step. This affects which alternative factors are fetched.