authenticator
Timestamp authenticator to sign HTTP requests for Allied REST api.
Public / Private Key Required.
Usage
import authenticator from "@alliedpayment/authenticator";
// env var ALLIED_PRIVATE_KEY must be set
// env var ALLIED_PUBLIC_KEY must be set
const authenticator = require('@alliedpayment/authenticator');
const header = authenticator.sign('url/to/resource');