Skip to content

Commit

Permalink
[Feat]: 카카오 로그인 domain 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
jinuemong committed Jan 25, 2024
1 parent 792cdbd commit ea56180
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package ac.dnd.bookkeeping.android.domain.model.social_login

class UserModel(
val socialId: Long,
val email: String,
val name: String
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package ac.dnd.bookkeeping.android.domain.repository.social_login

import ac.dnd.bookkeeping.android.domain.model.social_login.UserModel

interface SocialLoginRepository {
suspend fun login(): Result<String>
suspend fun logout(): Result<Boolean>
suspend fun getUserInfo(): Result<UserModel>
}

0 comments on commit ea56180

Please sign in to comment.