: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"))
}

Key Components

  1. SignInRoute: Handles user sign-in

    @Composable
    fun SignInRoute(
    onSignUpClick: () -> Unit,
    onShowSnackbar: suspend (String, SnackbarAction, Throwable?) -> Boolean,
    signInViewModel: SignInViewModel = hiltViewModel(),
    )
  2. SignUpRoute: Handles user registration

    @Composable
    fun SignUpRoute(
    onSignInClick: () -> Unit,
    onShowSnackbar: suspend (String, SnackbarAction, Throwable?) -> Boolean,
    signUpViewModel: SignUpViewModel = hiltViewModel(),
    )

Packages

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard