Package-level declarations

Types

Link copied to clipboard
object AuthIcons
Link copied to clipboard
class AuthState(states: Map<String, Boolean> = emptyMap())

Represents the state of auth forms.

Link copied to clipboard
fun interface FormValidator

FormValidator interface used to validate text fields.

Link copied to clipboard

Properties

Link copied to clipboard

Local composition for AuthState. Use AuthForm for automatic saving and restoring.

Functions

Link copied to clipboard
fun AuthForm(state: AuthState = rememberSaveable(saver = AuthState.SAVER) { AuthState() }, content: @Composable () -> Unit)

Provides the AuthState to the content.

Link copied to clipboard
fun FormComponent(key: String, mandatory: Boolean = true, content: @Composable (valid: MutableState<Boolean>) -> Unit)

A component that represents a form field.

Link copied to clipboard
fun RowScope.ProviderButtonContent(provider: OAuthProvider, text: String = "Login with ")

Renders the content for a button that represents an OAuth provider login option.

Link copied to clipboard
fun ProviderIcon(provider: OAuthProvider, contentDescription: String?, modifier: Modifier = Modifier)

Displays an icon representing the specified OAuth provider.

Link copied to clipboard
Link copied to clipboard
actual fun svgPainter(bytes: ByteArray, density: Density): Painter
expect fun svgPainter(bytes: ByteArray, density: Density): Painter
actual fun svgPainter(bytes: ByteArray, density: Density): Painter
actual fun svgPainter(bytes: ByteArray, density: Density): Painter