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

#18 [feat] jwt 기능 구현 #29

Merged
merged 5 commits into from
Jan 7, 2024
Merged

#18 [feat] jwt 기능 구현 #29

merged 5 commits into from
Jan 7, 2024

Conversation

KWY0218
Copy link
Member

@KWY0218 KWY0218 commented Jan 7, 2024

관련 이슈번호

해결하는 데 얼마나 걸렸나요? (예상 작업 시간 / 실제 작업 시간)

  • 1h / 1h

해결하려는 문제가 무엇인가요?

  • createAccessToken accessToken 생성 기능 (만료일 30일)
  • createRefreshToken refreshToken 생성 기능 (만료일 60일)
  • verifyToken 현재 토큰이 만료되었는 지 확인하는 함수
  • getUserIdInToken 현재 토큰에서 userId를 반환하는 함수

어떻게 해결했나요?

@KWY0218 KWY0218 requested review from hellozo0 and pkl0912 January 7, 2024 09:03
@KWY0218 KWY0218 self-assigned this Jan 7, 2024
@KWY0218 KWY0218 added the feat label Jan 7, 2024
Copy link
Contributor

@pkl0912 pkl0912 left a comment

Choose a reason for hiding this comment

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

확인했습니다!

Copy link
Member

@hellozo0 hellozo0 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

질문이 하나 있습니다...! 이제 개발을 들어갈때 jwt 관련된 어떤 코드를 꼭 적어야한다! 와 같은 사용 방법이 있을까요?

아니면 통신 단계에서 jwt관련 로직을 처리해서 저희가 api 개발시에는 아무것도 안해줘도 되는걸까요?

@KWY0218
Copy link
Member Author

KWY0218 commented Jan 7, 2024

@hellozo0

해당 디코딩 관련 로직은 제가 구현해놓도록 하겠습니다!

@KWY0218 KWY0218 merged commit 58b8c26 into develop Jan 7, 2024
1 check passed
@KWY0218 KWY0218 deleted the feat/#18 branch January 7, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] jwt 기능 구현
3 participants