Ramble-FE / types / authTypes.ts
authTypes.ts
Raw
import { BaseResponse } from "./responseTypes";

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

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

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

export interface GoogleMobileLoginParams {
    token: string;
    redirectUri: string;
}