Ramble-FE / services / auth / auth.types.ts
auth.types.ts
Raw
import { BaseResponse } from "@/types";

// 추후 확장될 가능성 고려
export type AuthResponse = BaseResponse;

export interface AuthTokens {
    accessToken: string;
    cookieHeader: string;
}

export interface LoginParams {
    code: string;
    codeVerifier: string;
    redirectUri: string;
}

export interface NativeAppleLoginParams {
    authorizationCode: string;
    identityToken: string;
    email: string | null;
    name: string | null;
}