atlassian-connect-auth
Version:
Helper for handling webhooks from Atlassian products
12 lines • 563 B
TypeScript
import { ConnectJwt, QueryStringHashType } from './types';
export interface VerifyQueryStringHashArgs {
queryStringHashType?: QueryStringHashType;
connectJwt: ConnectJwt;
computeQueryStringHashFunction: () => string;
}
/**
* Verifies the Query String Hash value provided in a Connect JWT against an incoming request to make sure it is not
* tainted.
*/
export declare function verifyQueryStringHash({ queryStringHashType, connectJwt, computeQueryStringHashFunction, }: VerifyQueryStringHashArgs): void;
//# sourceMappingURL=QueryStringHash.d.ts.map