0.1.2-alpha05 • Published 5 years ago
@tokeeto/tkt-api-bearer v0.1.2-alpha05
###About This software is intended to present a rough algorithm that provides a bearer for an API request.
###Install
Install via npm
npm install @tokeeto/tkt-api-bearer
###Usage
Typical usage would be to have it installed on the two (caller and receptor) ends. You can then call ApiBearer
class to provide a bearer based on the request and compare them to see if they match.
####Caller-end example
In your .js
file
const SR = require('tkt-api-bearer');
var time = new Date().getTime();
var params = {st: "good"};
var sreq = new SR.ApiBearer(params, "GET", "api-key", "api-username", time);
console.log(sreq.getBearer());
###License GNU AGPL
0.1.2-alpha05
5 years ago
0.1.2-alpha04
5 years ago
0.1.2-alpha03
5 years ago
0.1.2-alpha02
5 years ago
0.1.2-alpha
5 years ago
0.1.0
5 years ago
0.1.1
5 years ago