UNPKG

509 BTypeScriptView Raw
1export interface ISPFXGraphHttpClient {
2 fetch(url: string, configuration: any, options: any): Promise<Response>;
3}
4export interface ISPFXContext {
5 aadTokenProviderFactory?: {
6 getTokenProvider(): Promise<{
7 getToken(resource: string): Promise<string>;
8 }>;
9 };
10 msGraphClientFactory?: {
11 getClient: () => Promise<any>;
12 };
13 pageContext: {
14 web: {
15 absoluteUrl: string;
16 };
17 };
18}
19//# sourceMappingURL=spfxcontextinterface.d.ts.map
\No newline at end of file