UNPKG

@openauth/kakao

Version:
30 lines 895 B
import { type HttpClientError, OAuth20, OAuthError, type UserProfile } from "@openauth/core"; export interface UserRawData { id: number; properties?: { nickname?: string; profile_image?: string; }; kakao_account?: { profile?: { nickname?: string; profile_image_url: string; }; email?: string; is_email_verified?: boolean; gender?: "male" | "female"; }; } export declare class KakaoOAuth extends OAuth20 { authRequestUri: string; accessTokenRequestUri: string; userProfileUri: string; jwksUri: string; jwtIssuer: string; scopes: never[]; scopeSeparator: string; requestAccessTokenMethod: "get"; createErrorFromHttpClientError(e: HttpClientError): OAuthError; mapDataToUserProfile(data: UserRawData): UserProfile; } //# sourceMappingURL=kakao_oauth.d.ts.map