Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Commit 16aaaca

Browse files
authored
Merge pull request #127 from ASAP-Lettering/UMO-000
ASAP-000 OAuthConfig에 Google 및 Naver OAuth 핸들러 추가 및 oAuthRetrieveHand…
2 parents 46a1d87 + 30a7d92 commit 16aaaca

File tree

1 file changed

+6
-0
lines changed
  • Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth

1 file changed

+6
-0
lines changed

Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package com.asap.client.oauth
22

3+
import com.asap.client.oauth.platform.GoogleOAuthRetrieveHandler
34
import com.asap.client.oauth.platform.KakaoOAuthRetrieveHandler
5+
import com.asap.client.oauth.platform.NaverOAuthRetrieveHandler
46
import com.asap.domain.user.enums.SocialLoginProvider
57
import org.springframework.beans.factory.annotation.Qualifier
68
import org.springframework.context.annotation.Bean
@@ -9,11 +11,15 @@ import org.springframework.context.annotation.Configuration
911
@Configuration
1012
class OAuthConfig(
1113
private val kakaoOAuthRetrieveHandler: KakaoOAuthRetrieveHandler,
14+
private val googleOAuthRetrieveHandler: GoogleOAuthRetrieveHandler,
15+
private val naverOAuthRetrieveHandler: NaverOAuthRetrieveHandler,
1216
) {
1317
@Bean
1418
@Qualifier("oAuthRetrieveHandlers")
1519
fun oAuthRetrieveHandlers(): Map<SocialLoginProvider, OAuthRetrieveHandler> =
1620
mapOf(
1721
SocialLoginProvider.KAKAO to kakaoOAuthRetrieveHandler as OAuthRetrieveHandler,
22+
SocialLoginProvider.GOOGLE to googleOAuthRetrieveHandler as OAuthRetrieveHandler,
23+
SocialLoginProvider.NAVER to naverOAuthRetrieveHandler as OAuthRetrieveHandler,
1824
)
1925
}

0 commit comments

Comments
 (0)