-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] #87 : 현재 로컬에 저장된 정보를 바탕으로, 현재 로그인된 회원인지 검증 로직 구현
- Loading branch information
1 parent
0820bd7
commit ed90897
Showing
4 changed files
with
34 additions
and
38 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
core/data/src/main/java/com/wap/wapp/core/data/repository/auth/AuthRepository.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
package com.wap.wapp.core.data.repository.auth | ||
|
||
interface AuthRepository { | ||
suspend fun hasPendingResult(): Boolean | ||
|
||
suspend fun signIn(email: String): Result<String> | ||
|
||
suspend fun signOut(): Result<Unit> | ||
|
||
suspend fun deleteUser(): Result<Unit> | ||
|
||
suspend fun isUserSignIn(): Result<Boolean> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
core/network/src/main/java/com/wap/wapp/core/network/source/auth/AuthDataSource.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
package com.wap.wapp.core.network.source.auth | ||
|
||
interface AuthDataSource { | ||
suspend fun hasPendingResult(): Boolean | ||
|
||
suspend fun signIn(email: String): Result<String> | ||
|
||
suspend fun signOut(): Result<Unit> | ||
|
||
suspend fun deleteUser(): Result<Unit> | ||
|
||
suspend fun isUserSignIn(): Result<Boolean> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters