LoginUseCase

class LoginUseCase @Inject constructor(repo: StudyPlanetRepository)

Use case for handling user login.

Parameters

repo

The repository providing access to the study planet data.

Constructors

Link copied to clipboard
@Inject
constructor(repo: StudyPlanetRepository)

Functions

Link copied to clipboard
operator fun invoke(email: String, password: String): Flow<Resource<Unit>>

Invokes the login use case with the provided email and password.