@saleor/app-sdk
Version:
SDK for building great Saleor Apps
9 lines (7 loc) • 384 B
TypeScript
/**
* Verify the Webhook payload signature from provided JWKS string.
* JWKS can be cached to avoid unnecessary calls.
*/
declare const verifySignatureWithJwks: (jwks: string, signature: string, rawBody: string) => Promise<void>;
declare const getJwksUrlFromSaleorApiUrl: (saleorApiUrl: string) => string;
export { getJwksUrlFromSaleorApiUrl as g, verifySignatureWithJwks as v };