- code :: https://github.com/KineticCafe/app-identity/tree/main/ts/
- issues :: https://github.com/KineticCafe/app-identity/issues
@kineticcafe/app-identity-node is the Node.js runtime adapter for the Kinetic Commerce application identity proof algorithm as described in its spec.
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)
@kineticcafe/app-identity-node
should be added to your list of depdencies in
package.json
.
$ npm add @kineticcafe/app-identity-node@^2.0
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.
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.