Package-level declarations

Types

Link copied to clipboard
object KMPAuth
Link copied to clipboard
@RequiresOptIn(message = "This is internal API for KMPAuth. This shouldn't be used outside of KMPAuth API", level = RequiresOptIn.Level.ERROR)
annotation class KMPAuthInternalApi

KMPAuthInternal Annotation class that limits access for internal usage

Link copied to clipboard
class LaunchingSignInState(scope: CoroutineScope, block: suspend () -> Unit) : SignInState

Shared SignInState implementation used by the provider modules: runs block in scope, guarding against concurrent launches and driving isInProgress. block reads its parameters through rememberUpdatedState-backed properties, so values current at launch time are used even when the caller recomposes with new arguments.

Link copied to clipboard

Inert SignInState returned while a composable is rendered in inspection mode (an IDE @Preview). Previews never run application startup, so the provider a real state needs has not been created; returning this instead of resolving it keeps previews from crashing. launch does nothing.

Link copied to clipboard

Handle returned by the rememberXxxSignInState composables. Wire launch to any clickable and observe isInProgress for loading UI.

Link copied to clipboard

A UiContainerScope provides a scope for the children of UiButtons Container.

Functions

Link copied to clipboard