Files
jitu-auth0-frontend/node_modules/@auth0/auth0-spa-js/dist/typings/http.d.ts
T
2025-12-01 23:23:05 +07:00

6 lines
647 B
TypeScript

import { FetchOptions } from './global';
import { Dpop } from './dpop/dpop';
export declare const createAbortController: () => AbortController;
export declare const switchFetch: (fetchUrl: string, audience: string, scope: string, fetchOptions: FetchOptions, worker?: Worker, useFormData?: boolean, timeout?: number, useMrrt?: boolean) => Promise<any>;
export declare function getJSON<T>(url: string, timeout: number | undefined, audience: string, scope: string, options: FetchOptions, worker?: Worker, useFormData?: boolean, useMrrt?: boolean, dpop?: Pick<Dpop, 'generateProof' | 'getNonce' | 'setNonce'>, isDpopRetry?: boolean): Promise<T>;