Skip to content

[Feat] logout, signup 연동 - #52

Draft
oungsi2000 wants to merge 6 commits into
feat/36-oauth-to-serverfrom
feat/50-logout-signup
Draft

[Feat] logout, signup 연동#52
oungsi2000 wants to merge 6 commits into
feat/36-oauth-to-serverfrom
feat/50-logout-signup

Conversation

@oungsi2000

Copy link
Copy Markdown
Collaborator

관련 이슈

#50

작업 내용

  • Logout, signup api를 연동했습니다

변경사항 / 상세

  • User 도메인 모델이 겹쳐서 추가하였습니다. 해당 PR develop에 머지 시, 최신화 할 예정입니다.

중점 리뷰사항

스크린샷 (선택)

oungsi2000 and others added 5 commits July 31, 2026 21:06
사용자 정보 표현을 위한 `User` 클래스와 관련 도메인 모델들을 추가한다.
`BirthTime`은 사주 계산을 위해 12시(자시~해시) 시간대와 한자 정보를 관리하며,
관심 운세 카테고리 개수를 5개 이하로 제한하는 검증 로직을 포함한다.
LoginResult의 onboardingToken 타입을 String에서 OnboardingToken value class로 변경한다.
OnboardingToken은 빈 문자열을 허용하지 않으며, toString()을 마스킹하여 로그나 크래시 리포트에 토큰이 유출되는 것을 방지한다.
데이터 레이어의 LoginResponse 매핑 로직에 이를 반영한다.
회원가입 요청(`SignupRequest`)에 필요한 사용자 프로필 정보(생년월일, 직업, 관심 카테고리 등)와 온보딩 토큰 필드를 정의한다.
응답(`SignupResponse`)으로 받은 토큰 데이터를 도메인 모델인 `AuthToken`으로 변환하는 `toDomain()` 확장 함수를 추가한다.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01299PBN5qzgPtdnPH2e25rs
RemoteAuthDataSource에 postSignup, postLogout을 추가한다.
Ktor HttpResponse의 CommonResponse data 필드를 검증하고 반환하는 bodyNotNull() 확장 함수를 도입하여 기존 로그인 및 토큰 갱신 로직의 중복된 null 체크 코드를 제거한다.
@oungsi2000 oungsi2000 self-assigned this Jul 31, 2026
@oungsi2000 oungsi2000 added the feature 새로운 기능 추가 label Jul 31, 2026
@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: abbc9c9b-dd31-454c-91cc-bbacc733ab82

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 새로운 기능 추가

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant