Log In View Model
An interface that consists of all the fields and methods required for a LogInViewModel.
Functions
Link copied to clipboard
abstract fun authenticate( emailAddress: String, password: String, onSuccess: () -> Unit)
Content copied to clipboard
Used to authenticate an existing user with the specified emailAddress and password. The onSuccess callback will be called when authentication was successful.
Link copied to clipboard
Used to change the uiState to a non-error state thereby removing any associated error messages from the UI layer.
Properties
Link copied to clipboard
A state property the contains the current LoginUiState.