Variable validateSignatureHeaderConst
validateSignatureHeader: (
callbackSecret: string,
headers: IncomingHttpHeaders,
body: any,
) => boolean
Type Declaration
- (callbackSecret: string, headers: IncomingHttpHeaders, body: any): boolean
Parameters
- callbackSecret: string
- headers: IncomingHttpHeaders
- body: any
Returns boolean
- true if the signature header is valid
Validate signature headers for Numbers callback. Note: a callbackURL must be associated to the number