From 30a7d92c2ad108468d23461d1e123e3d5093733e Mon Sep 17 00:00:00 2001 From: Sim-km Date: Sat, 3 May 2025 16:36:16 +0900 Subject: [PATCH] =?UTF-8?q?ASAP-000=20OAuthConfig=EC=97=90=20Google=20?= =?UTF-8?q?=EB=B0=8F=20Naver=20OAuth=20=ED=95=B8=EB=93=A4=EB=9F=AC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EB=B0=8F=20oAuthRetrieveHandlers=20?= =?UTF-8?q?=EB=A7=A4=ED=95=91=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt b/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt index fa0338ee..3db56c22 100644 --- a/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt +++ b/Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth/OAuthConfig.kt @@ -1,6 +1,8 @@ package com.asap.client.oauth +import com.asap.client.oauth.platform.GoogleOAuthRetrieveHandler import com.asap.client.oauth.platform.KakaoOAuthRetrieveHandler +import com.asap.client.oauth.platform.NaverOAuthRetrieveHandler import com.asap.domain.user.enums.SocialLoginProvider import org.springframework.beans.factory.annotation.Qualifier import org.springframework.context.annotation.Bean @@ -9,11 +11,15 @@ import org.springframework.context.annotation.Configuration @Configuration class OAuthConfig( private val kakaoOAuthRetrieveHandler: KakaoOAuthRetrieveHandler, + private val googleOAuthRetrieveHandler: GoogleOAuthRetrieveHandler, + private val naverOAuthRetrieveHandler: NaverOAuthRetrieveHandler, ) { @Bean @Qualifier("oAuthRetrieveHandlers") fun oAuthRetrieveHandlers(): Map = mapOf( SocialLoginProvider.KAKAO to kakaoOAuthRetrieveHandler as OAuthRetrieveHandler, + SocialLoginProvider.GOOGLE to googleOAuthRetrieveHandler as OAuthRetrieveHandler, + SocialLoginProvider.NAVER to naverOAuthRetrieveHandler as OAuthRetrieveHandler, ) }