HMAC Signature Header
Describes the HMAC signature header value generation
Validate HMAC headers
Applicable if you utilize the job callback url. Use to validate the job payload integrity.
secretKey
/secret_key
(string): Obtain from the Skylab product development teamjobJson
/job_json
(string): Stringified json object obtained from callback PATCH requestrequestTimestamp
/request_timestamp
(string): Obtained from callback PATCH request headerX-Skylab-Timestamp
signature
(string): Signature generated by Skylab to compare. Obtained from callback PATCH request headerX-Skylab-Signature
Returns True or False based on whether or not the signatures match.
api.ValidateHmacHeaders(secretKey, jobJson, requestTimestamp, signature);
await api.validateHmacHeaders(secretKey, jobJson, requestTimestamp, signature);
api.validate_hmac_headers(secret_key, job_json, request_timestamp, signature)
Updated 6 months ago
What’s Next