GithubButtonUiContainer
fun GithubButtonUiContainer(modifier: Modifier = Modifier, requestScopes: List<String> = listOf("user:email"), customParameters: Map<String, String> = emptyMap(), linkAccount: Boolean = false, onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)
Deprecated
Use rememberFirebaseGithubSignInState(...) and call launch() from your own button's onClick. Scheduled for removal in 4.0.
Replace with
import com.mmk.kmpauth.firebase.github.rememberFirebaseGithubSignInState
Content copied to clipboard
rememberFirebaseGithubSignInState(requestScopes, customParameters, linkAccount, onResult)Content copied to clipboard
Legacy container API for Github Sign-In with Firebase. Superseded by rememberFirebaseGithubSignInState, which returns a com.mmk.kmpauth.core.SignInState you can wire to any clickable without the receiver-scope indirection.
fun GithubButtonUiContainer(modifier: Modifier = Modifier, requestScopes: List<String> = listOf("user:email"), customParameters: Map<String, String> = emptyMap(), onResult: (Result<FirebaseUser?>) -> Unit, content: @Composable UiContainerScope.() -> Unit)
Deprecated
Use GithubButtonUiContainer with linkAccount parameter, which defaults to false