AppleButtonUiContainer

fun AppleButtonUiContainer(modifier: Modifier = Modifier, requestScopes: List<AppleSignInRequestScope> = listOf( AppleSignInRequestScope.FullName, AppleSignInRequestScope.Email ), onResult: (Result<FirebaseUser?>) -> Unit, linkAccount: Boolean = false, content: @Composable UiContainerScope.() -> Unit)

Deprecated

Use rememberFirebaseAppleSignInState(...) and call launch() from your own button's onClick. Scheduled for removal in 4.0.

Replace with

import com.mmk.kmpauth.firebase.apple.rememberFirebaseAppleSignInState
rememberFirebaseAppleSignInState(requestScopes, linkAccount, onResult)

Legacy container API for Apple Sign-In with Firebase. Superseded by rememberFirebaseAppleSignInState, which returns a com.mmk.kmpauth.core.SignInState you can wire to any clickable without the receiver-scope indirection.


fun AppleButtonUiContainer(modifier: Modifier = Modifier, requestScopes: List<AppleSignInRequestScope> = listOf( AppleSignInRequestScope.FullName, AppleSignInRequestScope.Email ), onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)

Deprecated

Use AppleButtonUiContainer with the linkAccount parameter, which defaults to false.

Replace with