verify-aws-sns-signature
v0.1.0
Published
Verifies Signature in AWS SNS HTTP POST requests
Downloads
639
Readme
verify-aws-sns-signature
An async function that verifies the Signature in an AWS SNS HTTP(S) POST request. It takes one argument, which is an object representing the JSON body of the POST.
const {validatePayload} = require('verify-aws-sns-signature');
..
const verified = await validatePayload(payload);