Skip to content

Commit

Permalink
feat: NaverOAuthProvider 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
CChuYong committed Nov 15, 2023
1 parent 4970557 commit ebbbe1c
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package kr.nagaza.nagazaserver.infrastructure.restapi

import kr.nagaza.nagazaserver.domain.exception.OAuthLoginFailedException
import kr.nagaza.nagazaserver.domain.model.SocialProvider
import kr.nagaza.nagazaserver.domain.model.SocialUser
import kr.nagaza.nagazaserver.domain.repository.OAuthProvider
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.stereotype.Component
import org.springframework.web.reactive.function.client.WebClient

@Component("naverOAuthProvider")
class NaverOAuthProvider(
@Qualifier("oAuthClient") private val webClient: WebClient,
) : OAuthProvider {
override fun authenticate(provider: SocialProvider, accessToken: String): SocialUser {
TODO()
}
}

0 comments on commit ebbbe1c

Please sign in to comment.