Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import { CSSProperties, ReactChild, ReactNode } from "react";
interface KakaoError {
export interface KakaoError {
error: string;
error_description: string;
}

interface LoginResponse {
export interface LoginResponse {
/** 토큰 타입, bearer 로 고정 */
token_type: string;
/** 사용자 액세스 토큰 값 */
access_token: string;
/** OIDC 토큰 값 */
id_token?: string;
/** 액세스 토큰 만료 시간(초) */
expires_in: string;
/** 사용자 리프레시 토큰 값 */
Expand Down Expand Up @@ -71,7 +73,7 @@ interface KakaoAccount {
ci: string;
}

interface UserProfile {
export interface UserProfile {
/** 회원번호 */
id: number;
/** 카카오계정 정보 */
Expand Down