@onout/capacitor-kakao-login
Install
npm install @onout/capacitor-kakao-login
npx cap sync
API
goLogin()
goLogin() => Promise<{ "accessToken": string; "expiredAt": string; "expiresIn": string; "refreshToken": string; "idToken": string; "refreshTokenExpiredAt": string; "refreshTokenExpiresIn": string; "tokenType": string; }>
Returns: Promise<{ accessToken: string; expiredAt: string; expiresIn: string; refreshToken: string; idToken: string; refreshTokenExpiredAt: string; refreshTokenExpiresIn: string; tokenType: string; }>
goLogout()
goLogout() => Promise<any>
Returns: Promise<any>
getUserInfo()
getUserInfo() => Promise<{ value: any; }>
Returns: Promise<{ value: any; }>
sendLinkFeed(...)
sendLinkFeed(options: { title: string; description: string; imageUrl: string; imageLinkUrl: string; buttonTitle: string; imageWidth?: number; imageHeight?: number; }) => Promise<void>
Param | Type |
---|
options | { title: string; description: string; imageUrl: string; imageLinkUrl: string; buttonTitle: string; imageWidth?: number; imageHeight?: number; } |
talkInChannel(...)
talkInChannel(options: { publicId: string; }) => Promise<any>
Param | Type |
---|
options | { publicId: string; } |
Returns: Promise<any>