LoginScreen

fun LoginScreen(onUpdateLoginState: (AuthenticationFormEvent) -> Unit, login: () -> Unit, authFormState: AuthFormState, authUiState: AuthUiState, switchPasswordVisibility: () -> Unit, navigateToRegisterScreen: () -> Unit, clearValidationErrors: () -> Unit)

Composable function representing the login screen of the application.

Parameters

onUpdateLoginState

Callback to update the authentication form state.

login

Callback to initiate the login process.

authFormState

Current authentication form state.

authUiState

Current authentication UI state.

switchPasswordVisibility

Callback to toggle password visibility.

navigateToRegisterScreen

Callback to navigate to the register screen.

clearValidationErrors

Callback to clear validation errors.