UNPKG

@innovatespace/ig-business

Version:
11 lines 694 B
import { CodeExchangeResponse, RedirectParam, TokenExchangeResponse } from '../../type'; export declare class OAuthInstagram { private readonly clientId; private readonly clientSecret; constructor(clientId: string, clientSecret: string); static getRedirectUri({ scope, clientId, redirectUri, force_reauth, state, }: RedirectParam): string; getShortLivedInstagramAccessToken(redirectUri: string, code: string): Promise<CodeExchangeResponse>; getLongLivedInstagramAccessToken(shortLivedAccessToken: string): Promise<TokenExchangeResponse>; refreshInstagramAccessToken(longLivedAccessToken: string): Promise<TokenExchangeResponse>; } //# sourceMappingURL=index.d.ts.map