@microsoft/msgraph-sdk-core
Version:
Core functionalities for the Microsoft Graph JavaScript SDK
10 lines • 610 B
TypeScript
import { Middleware } from "@microsoft/kiota-http-fetchlibrary";
import { GraphTelemetryOption } from "./GraphTelemetryOption.js";
import { BaseBearerTokenAuthenticationProvider } from "@microsoft/kiota-abstractions";
export declare const getDefaultMiddlewares: (options?: MiddlewareFactoryOptions, authenticationProvider?: BaseBearerTokenAuthenticationProvider | null) => Middleware[];
interface MiddlewareFactoryOptions {
customFetch?: (request: string, init: RequestInit) => Promise<Response>;
graphTelemetryOption?: GraphTelemetryOption;
}
export {};
//# sourceMappingURL=MiddlewareFactory.d.ts.map