Package-level declarations

Types

Link copied to clipboard

Manages the state of the One Tap Bottom Sheet. Should be created with rememberOneTapBottomSheetState

Link copied to clipboard

Enumerates various scenarios for the One Tap authentication process.

Functions

Link copied to clipboard
fun OneTapBottomSheet(modifier: Modifier = Modifier, state: OneTapBottomSheetState = rememberOneTapBottomSheetState(), serviceName: String, scenario: OneTapScenario = OneTapScenario.EnterService, autoHideOnSuccess: Boolean = true, onAuth: (oAuth: OneTapOAuth?, accessToken: AccessToken) -> Unit, onAuthCode: (data: AuthCodeData, isCompletion: Boolean) -> Unit = { _, _ -> }, onFail: (oAuth: OneTapOAuth?, fail: VKIDAuthFail) -> Unit = { _, _ -> }, oAuths: Set<OneTapOAuth> = emptySet(), style: OneTapBottomSheetStyle = OneTapBottomSheetStyle.Light(), authParams: VKIDAuthUiParams = VKIDAuthUiParams {}, fastAuthEnabled: Boolean = true)
fun OneTapBottomSheet(modifier: Modifier = Modifier, state: OneTapBottomSheetState = rememberOneTapBottomSheetState(), serviceName: String, scenario: OneTapScenario = OneTapScenario.EnterService, autoHideOnSuccess: Boolean = true, onAuth: (oAuth: OneTapOAuth?, accessToken: AccessToken) -> Unit, onAuthCode: (data: AuthCodeData, isCompletion: Boolean) -> Unit = { _, _ -> }, onFail: (oAuth: OneTapOAuth?, fail: VKIDAuthFail) -> Unit = { _, _ -> }, oAuths: Set<OneTapOAuth> = emptySet(), style: OneTapBottomSheetStyle = OneTapBottomSheetStyle.Light(), authParams: VKIDAuthUiParams = VKIDAuthUiParams {}, fastAuthEnabled: Boolean = true, autoShowSheetDelayMillis: Long? = null)

Composable function to display a bottom sheet for VKID One Tap authentication with multibranding.

Link copied to clipboard

Composable function which creates a state for OneTapBottomSheet and can be used as state parameter.