-
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.
- Loading branch information
1 parent
141f87b
commit 3dd5e35
Showing
15 changed files
with
95 additions
and
126 deletions.
There are no files selected for viewing
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: 10 additions & 0 deletions
10
...pi/src/main/kotlin/com/mashup/pic/auth/applicationService/dto/AppleLoginServiceRequest.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,10 @@ | ||
package com.mashup.pic.auth.applicationService.dto | ||
|
||
import com.mashup.pic.domain.user.LoginProvider | ||
|
||
data class AppleLoginServiceRequest( | ||
val idToken: String, | ||
val provider: LoginProvider, | ||
val fullName: String, | ||
val user: String | ||
) |
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
20 changes: 20 additions & 0 deletions
20
pic-api/src/main/kotlin/com/mashup/pic/auth/controller/dto/AppleLoginRequest.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,20 @@ | ||
package com.mashup.pic.auth.controller.dto | ||
|
||
import com.mashup.pic.auth.applicationService.dto.AppleLoginServiceRequest | ||
import com.mashup.pic.domain.user.LoginProvider | ||
import jakarta.validation.constraints.NotBlank | ||
|
||
data class AppleLoginRequest( | ||
@NotBlank val idToken: String, | ||
@NotBlank val fullName: String, | ||
@NotBlank val user: String | ||
) { | ||
fun toServiceRequest(): AppleLoginServiceRequest { | ||
return AppleLoginServiceRequest( | ||
idToken = idToken, | ||
provider = LoginProvider.APPLE, | ||
fullName = fullName, | ||
user = user | ||
) | ||
} | ||
} |
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
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
7 changes: 0 additions & 7 deletions
7
pic-external/src/main/kotlin/com/mashup/pic/external/apple/dto/AppleTokenInfoResponse.kt
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
pic-external/src/main/kotlin/com/mashup/pic/external/apple/dto/AppleTokenResponse.kt
This file was deleted.
Oops, something went wrong.
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.