UNPKG

@shopify/app-bridge

Version:

> **Maintenance Mode:** Although apps using this package will continue to function, it is no longer receiving updates. For new projects, please use the [CDN version of App Bridge](https://shopify.dev/docs/api/app-home?accordionItem=getting-started-build-y

11 lines (10 loc) 456 B
import type { ClientApplication } from '../../client'; type FetchOperation = typeof fetch; export interface AuthorizedFetchOptions { app: ClientApplication; callbackUri?: string; isAuthorizationCodeRequired?: (response: Response) => boolean; fetchOperation: FetchOperation; } export declare function userAuthorizedFetch({ app, callbackUri, isAuthorizationCodeRequired, fetchOperation, }: AuthorizedFetchOptions): FetchOperation; export {};