:feature:auth
This module implements user authentication flows including email/password and Google Sign-In. It provides a complete authentication UI with error handling and loading states.
Features
Email/Password Sign In
Google Sign In
Registration Flow
Credential Management
Form Validation
Error Handling
Dependencies Graph
Usage
dependencies {
implementation(project(":feature:auth"))
}
Content copied to clipboard
Key Components
SignInRoute: Handles user sign-in
@Composable
fun SignInRoute(
onSignUpClick: () -> Unit,
onShowSnackbar: suspend (String, SnackbarAction, Throwable?) -> Boolean,
signInViewModel: SignInViewModel = hiltViewModel(),
)Content copied to clipboardSignUpRoute: Handles user registration
@Composable
fun SignUpRoute(
onSignInClick: () -> Unit,
onShowSnackbar: suspend (String, SnackbarAction, Throwable?) -> Boolean,
signUpViewModel: SignUpViewModel = hiltViewModel(),
)Content copied to clipboard