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

🔀 :: (ENTRY-24) User ReIssue API 개발 #8

Merged

Conversation

HyunSu1768
Copy link
Member

close #ENTRY-40

@linear
Copy link

linear bot commented Sep 17, 2023

ENTRY-24 유저 토큰 재발급 API 개발

  • 유저 토큰 재발급 API 개발
    • RefreshToken

@HyunSu1768 HyunSu1768 added the 기능 추가 New feature or request label Sep 17, 2023
Copy link
Member

@lilseongwon lilseongwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

내가 확인을 못했었는데 SignatureException도 추가했으면 좋겠음
isNotRe

fun reIssue(refreshToken: String): TokenResponse {
if (isNotRefreshToken(refreshToken)) {
throw InvalidTokenException
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

내가 저번에 확인을 못한 거 같은데 SignatureException이 있으면 좋을 거 같음. isNotRefreshToken보다는 isRefreshToken이거나 isInvalidToken 등으로 직관적인 표현을 쓰면 좋겠음(굳이 뒤에 Not 등을 넣는 건 비추. 앞에 check을 넣는 것도 추천)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signature exeption이 정확히 어떤걸 말하는 건가요??

@HyunSu1768 HyunSu1768 merged commit 12ee83d into develop Sep 19, 2023
1 check passed
@HyunSu1768 HyunSu1768 deleted the feature/entry-24-유저-토큰-재발급-api-개발 branch September 19, 2023 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
기능 추가 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants