Skip to content

Commit

Permalink
[FEATURE] #87 : 로그인된 회원인지 검증 유스케이스 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Jan 11, 2024
1 parent ed90897 commit 4ee1255
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package com.wap.wapp.core.domain.usecase.auth

import com.wap.wapp.core.data.repository.auth.AuthRepository
import javax.inject.Inject

class IsUserSignInUseCase @Inject constructor(
private val authRepository: AuthRepository,
) {
suspend operator fun invoke(): Result<Boolean> = authRepository.isUserSignIn()
}

0 comments on commit 4ee1255

Please sign in to comment.