UNPKG

@shopify/app-bridge

Version:

**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**

11 lines (10 loc) 464 B
import type { ClientApplication } from '../../client'; declare 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 {};