-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from MONEYMONG/epic/moneymong-122-로그인-회원가입
Epic/moneymong 122 로그인 회원가입
- Loading branch information
Showing
36 changed files
with
319 additions
and
346 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
core/model/src/main/java/com/moneymong/moneymong/model/sign/LoginType.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.moneymong.moneymong.model.sign | ||
|
||
enum class LoginType { | ||
KAKAO | ||
} |
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
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
4 changes: 2 additions & 2 deletions
4
core/model/src/main/java/com/moneymong/moneymong/model/sign/UnivRequest.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,6 +1,6 @@ | ||
package com.moneymong.moneymong.model.sign | ||
|
||
data class UnivRequest( | ||
val universityName: String, | ||
val grade: Int | ||
val universityName: String?, | ||
val grade: Int? | ||
) |
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
10 changes: 5 additions & 5 deletions
10
core/network/src/main/java/com/moneymong/moneymong/network/api/AccessTokenApi.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
1 change: 0 additions & 1 deletion
1
core/network/src/main/java/com/moneymong/moneymong/network/util/AuthInterceptor.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
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
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
9 changes: 0 additions & 9 deletions
9
data/src/main/java/com/moneymong/moneymong/data/datasource/login/LoginRemoteDataSource.kt
This file was deleted.
Oops, something went wrong.
117 changes: 0 additions & 117 deletions
117
.../src/main/java/com/moneymong/moneymong/data/datasource/login/LoginRemoteDataSourceImpl.kt
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
data/src/main/java/com/moneymong/moneymong/data/datasource/login/TokenRemoteDataSource.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,9 +1,17 @@ | ||
package com.moneymong.moneymong.data.datasource.login | ||
|
||
import com.moneymong.moneymong.model.sign.LoginType | ||
import com.moneymong.moneymong.model.sign.RefreshTokenRequest | ||
import com.moneymong.moneymong.model.sign.RefreshTokenResponse | ||
import com.moneymong.moneymong.model.sign.TokenResponse | ||
|
||
interface TokenRemoteDataSource { | ||
|
||
suspend fun postAccessToken( | ||
type: LoginType, | ||
accessToken: String | ||
): Result<TokenResponse> | ||
|
||
suspend fun getUpdateToken(refreshToken: String): Result<RefreshTokenResponse> | ||
suspend fun deleteRefreshToken(body: RefreshTokenRequest) | ||
} |
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
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
Oops, something went wrong.