1.0.0 • Published 4 years ago

authbox.request-verification v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

AuthBox.request-verification

A small package to be used to validate a request. You supply the contents to be verified, the signature and the certifcate location

Usage

const RequestVerification = require('authbox.request-verification');
const requestVerification = new RequestVerification();
const verified = requestVerification.verifyRequest(contents, config.requestVerification.cert, req.body.sig);
1.0.0

4 years ago