20 lines
648 B
TypeScript
20 lines
648 B
TypeScript
import type { OAuthConfig, OAuthUserConfig } from ".";
|
|
/** https://developers.naver.com/docs/login/profile/profile.md */
|
|
export interface NaverProfile extends Record<string, any> {
|
|
resultcode: string;
|
|
message: string;
|
|
response: {
|
|
id: string;
|
|
nickname?: string;
|
|
name?: string;
|
|
email?: string;
|
|
gender?: "F" | "M" | "U";
|
|
age?: string;
|
|
birthday?: string;
|
|
profile_image?: string;
|
|
birthyear?: string;
|
|
mobile?: string;
|
|
};
|
|
}
|
|
export default function Naver<P extends NaverProfile>(options: OAuthUserConfig<P>): OAuthConfig<P>;
|
|
//# sourceMappingURL=naver.d.ts.map
|