Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

[WEAV-65] ✨ 회원가입 토큰 발급 로직 및 카카오 IdToken resolve 로직 구현 #23

Merged
merged 15 commits into from
Jan 28, 2024

Conversation

waterfogSW
Copy link
Member

구현 내용

  • 유저 토큰 서비스 구현
    • access token, refresh token, register token 발급
    • access token, refresh token, register token, id token 복호화, (id token의 경우 소셜로그인 제공자 측에서 발급)
  • flyway 포함 영속성 레이어 구현
  • user_auth_info 테이블 정의

@waterfogSW waterfogSW self-assigned this Jan 27, 2024
@@ -1,9 +1,10 @@
package com.studentcenter.weave.application.service
package com.studentcenter.weave.application.service.util
Copy link
Member Author

Choose a reason for hiding this comment

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

Service레이어 패키지를 application, domain, util 3가지로 나누었어요.

.
├── application
│   └── UserSocialLoginApplicationService.kt
├── domain
│   ├── UserAuthInfoDomainService.kt
│   ├── UserDomainService.kt
│   └── impl
│       ├── UserAuthInfoDomainServiceImpl.kt
│       └── UserDomainServiceImpl.kt
└── util
    ├── UserTokenService.kt
    └── impl
        ├── UserTokenServiceImpl.kt
        └── strategy

application 에는 usecase의 구현체인 애플리케이션 서비스
domain 에는 도메인 서비스,
util 에는도메인도, 애플리케이션 서비스도 아닌 협력 서비스로 분류했어요

domain이랑 util은 따로 인터페이스가 존재하지 않아서 인터페이스를 패키지 안에 정의해놓고 내부에 impl패키지 만들어서 구현체 만들어 두었어요

@waterfogSW waterfogSW marked this pull request as ready for review January 27, 2024 11:51
@waterfogSW waterfogSW requested a review from dojinyou as a code owner January 27, 2024 11:51
@waterfogSW waterfogSW changed the title [WEAV-65] 회원가입 토큰 발급 로직 및 카카오 IdToken resolve 로직 구현 [WEAV-65] ✨ 회원가입 토큰 발급 로직 및 카카오 IdToken resolve 로직 구현 Jan 27, 2024
@waterfogSW waterfogSW requested a review from dojinyou January 27, 2024 12:37
Copy link
Collaborator

@dojinyou dojinyou 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

sonarcloud bot commented Jan 28, 2024

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

2 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@waterfogSW waterfogSW merged commit 8499505 into main Jan 28, 2024
3 checks passed
@waterfogSW waterfogSW deleted the feat/WEAV-65 branch January 28, 2024 03:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants