@kineticcafe/app-identity-node
v2.0.0
Published
Lightweight secure application authentication (Node Runtime Adapter)
Downloads
1
Readme
@kineticcafe/app-identity-node 2.0.0: AppIdentity for JavaScript
- code :: https://github.com/KineticCafe/app-identity/tree/main/ts/
- issues :: https://github.com/KineticCafe/app-identity/issues
Description
@kineticcafe/app-identity-node is the Node.js runtime adapter for the Kinetic Commerce application identity proof algorithm as described in its spec.
Synopsis
import * as AppIdentity from '@kineticcafe/app-identity-node'
// Required at program start.
AppIdentity.useNodeRuntimeAdapter()
const app = { id, secret, version: 2 }
const proof = AppIdentity.generateProof(app)
AppIdentity.verifyProof(proof, app)
Installation
@kineticcafe/app-identity-node
should be added to your list of depdencies in
package.json
.
$ npm add @kineticcafe/app-identity-node@^2.0
Semantic Versioning
AppIdentity
uses a Semantic Versioning scheme with one significant change:
- When PATCH is zero (
0
), it will be omitted from version references.
Additionally, the major version will generally be reserved for specification revisions.
Contributing
AppIdentity for JavaScript welcomes contributions. This project, like all Kinetic Commerce open source projects, is under the Kinetic Commerce Open Source Code of Conduct.
AppIdentity for Elixir is licensed under the Apache License, version 2.0 and requires certification via a Developer Certificate of Origin. See Licence for more details.