-
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.
Browse files
Browse the repository at this point in the history
[Feat-15] 애플로그인 API 변경, refresh token 발급 메커니즘 변경
- Loading branch information
Showing
45 changed files
with
723 additions
and
555 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
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
11 changes: 0 additions & 11 deletions
11
src/main/java/com/dnd/dndtravel/auth/apple/AppleClient.java
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
src/main/java/com/dnd/dndtravel/auth/apple/AppleOauthService.java
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
src/main/java/com/dnd/dndtravel/auth/apple/ApplePublicKeyGenerator.java
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
src/main/java/com/dnd/dndtravel/auth/apple/AppleTokenParser.java
This file was deleted.
Oops, something went wrong.
42 changes: 0 additions & 42 deletions
42
src/main/java/com/dnd/dndtravel/auth/apple/dto/ApplePublicKey.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/java/com/dnd/dndtravel/auth/apple/dto/ApplePublicKeys.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
src/main/java/com/dnd/dndtravel/auth/apple/dto/AppleUser.java
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
src/main/java/com/dnd/dndtravel/auth/config/AppleFeignClientConfiguration.java
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,14 @@ | ||
package com.dnd.dndtravel.auth.config; | ||
|
||
import org.springframework.context.annotation.Bean; | ||
|
||
import com.dnd.dndtravel.auth.service.AppleFeignClientErrorDecoder; | ||
import com.fasterxml.jackson.databind.ObjectMapper; | ||
|
||
public class AppleFeignClientConfiguration { | ||
|
||
@Bean | ||
public AppleFeignClientErrorDecoder appleFeignClientErrorDecoder() { | ||
return new AppleFeignClientErrorDecoder(new ObjectMapper()); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/dnd/dndtravel/auth/config/AppleProperties.java
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.dnd.dndtravel.auth.config; | ||
|
||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
import org.springframework.stereotype.Component; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Component | ||
@ConfigurationProperties(prefix = "social-login.provider.apple") | ||
@Getter | ||
@Setter // 프로퍼티 주입에 필수 | ||
public class AppleProperties { | ||
private String grantType; | ||
private String clientId; | ||
private String keyId; | ||
private String teamId; | ||
private String audience; | ||
private String privateKey; | ||
} |
50 changes: 0 additions & 50 deletions
50
src/main/java/com/dnd/dndtravel/auth/config/JwtFilter.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.