Variable validateAuthenticationHeaderConst
validateAuthenticationHeader: (
applicationKey: string,
applicationSecret: string,
headers: IncomingHttpHeaders,
body: any,
path: string,
method: string,
) => boolean
Type Declaration
- (
applicationKey: string,
applicationSecret: string,
headers: IncomingHttpHeaders,
body: any,
path: string,
method: string,
): boolean Parameters
- applicationKey: string
- applicationSecret: string
- headers: IncomingHttpHeaders
- body: any
- path: string
- method: string
Returns boolean
- true if the authorization header is valid
Validate authorization header for callback request on application-signed protected endpoints (Verification and Voice webhooks)