카카오 로그인 및 비로그인 플로우 적용 .

This commit is contained in:
HyeongBaeYang committed 2026-01-21 16:09:29 +09:00
1 parent 2acf4e2cb6
commit 662b6b80bc
15 files changed
+1393 -335

No files matched your search

+40
View File
@@ -180,3 +180,43 @@ export const LANGUAGE_MAP: Record<string, string> = {
'ไทย': 'Thai',
'Tiếng Việt': 'Vietnamese',
};
// 카카오 로그인 URL 응답
export interface KakaoLoginUrlResponse {
auth_url: string;
}
// 카카오 콜백 사용자 정보
export interface KakaoCallbackUser {
id: number;
nickname: string;
email: string | null;
profile_image_url: string | null;
is_new_user: boolean;
}
// 카카오 콜백 응답 (JWT 토큰)
export interface KakaoCallbackResponse {
access_token: string;
refresh_token: string;
token_type: string;
expires_in: number;
user: KakaoCallbackUser;
redirect_url: string;
}
// 토큰 갱신 응답
export interface TokenRefreshResponse {
access_token: string;
token_type: string;
expires_in: number;
}
// 사용자 정보 응답
export interface UserMeResponse {
id: number;
kakao_id: string;
nickname: string;
profile_image: string | null;
created_at: string;
}