17 lines
410 B
TypeScript
17 lines
410 B
TypeScript
interface AccessToken {
|
|
access_token: string;
|
|
token_type: string;
|
|
refresh_token: string;
|
|
expires_in: number;
|
|
scope: string;
|
|
id_token?: string;
|
|
}
|
|
/**
|
|
* Request OAuth server to issue access_token
|
|
* API Reference https://developers.line.biz/en/reference/social-api/
|
|
* @export
|
|
* @returns {Promise<any>}
|
|
*/
|
|
export default function requestAccessToken(): Promise<AccessToken>;
|
|
export {};
|