@alliedpayment/authenticator
TypeScript icon, indicating that this package has built-in type declarations

14.0.8 • Public • Published

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');

Readme

Keywords

none

Package Sidebar

Install

npm i @alliedpayment/authenticator

Weekly Downloads

31

Version

14.0.8

License

MIT

Unpacked Size

3.66 kB

Total Files

4

Last publish

Collaborators

  • jerry.wickey
  • harikakunda
  • ktodoran
  • weispm01