@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
17 lines • 784 B
TypeScript
import { WebPartContextCopy_15_2 } from "../../../../../types/@msft/1.15.2/WebPartContext";
/**
* REQUIRES Context!!!!
*
* getThisFPSDigestValue will first check for a valid digestValue, if not found, will try to request from getRequestDigestFromClass
*
* If you need to use digestValues, such as in SE or certain calls,
* It's best to call this during the onInit because you have the context.
*
* Then later on, you can pass in null for the context because the digestValue will already be updated
*
* @param classContext
* @param absoluteUrl
* @returns
*/
export declare function getThisFPSDigestValueFromContext(classContext: WebPartContextCopy_15_2, absoluteUrl: string): Promise<string>;
//# sourceMappingURL=getThisFPSDigestValueFromContext.d.ts.map