Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔀 :: 액세스 토큰 자동 Refresh 로직 역할 분리 #7

Merged
merged 10 commits into from
Apr 17, 2023

Conversation

baekteun
Copy link
Member

💡 개요

  • 기존에는 Moya를 사용하기에 prepare를 할때 비동기로 처리를 못했음
  • Emdpoint를 사용하여서 Interceptor가 비동기 처리가 가능하기에 새로운 토큰 발급까지 Interceptor에서 처리하는거로 역할 분리

📃 작업내용

  • JwtInterceptor에 토큰 자동 리프레시 로직 추가
  • BaseRemote에 자동 리프레시 로직 제거

@baekteun baekteun self-assigned this Apr 17, 2023
@baekteun baekteun linked an issue Apr 17, 2023 that may be closed by this pull request
@baekteun baekteun merged commit 976c44b into master Apr 17, 2023
@kimsh153 kimsh153 deleted the 6-jwtinterceptor-token-auto-refresh branch May 10, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JwtInterceptor에서 토큰 Refresh도 처리
3 participants