This repository was archived by the owner on Jul 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Infrastructure-Module/Client/src/main/kotlin/com/asap/client/oauth Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 11package com.asap.client.oauth
22
3+ import com.asap.client.oauth.platform.GoogleOAuthRetrieveHandler
34import com.asap.client.oauth.platform.KakaoOAuthRetrieveHandler
5+ import com.asap.client.oauth.platform.NaverOAuthRetrieveHandler
46import com.asap.domain.user.enums.SocialLoginProvider
57import org.springframework.beans.factory.annotation.Qualifier
68import org.springframework.context.annotation.Bean
@@ -9,11 +11,15 @@ import org.springframework.context.annotation.Configuration
911@Configuration
1012class 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}
You can’t perform that action at this time.
0 commit comments