nsky-auth

0.0.1 • Public • Published

nsky-auth


install

npm install nsky-auth --save-dev

Usage

const nskyAuth = require('nsky-auth')
 
app.use(function* (next) {
    nskyAuth.init('taxi')
    nskyAuth.startAuth(this)
    yield next;
})
 

API

unit: 'taxi/express/daijia/pcs'
 
 
```js
 
## taxi
appid: preview ? 352 : 332
appkey: preview ? "371bce7dc83817b7893bcdeed13799b5" : "c042f4db68f23406c6cecf84a7ebb0fe"
 
##pcs
appid: preview ? 352 : 314
appkey: preview ? "371bce7dc83817b7893bcdeed13799b5" : "758874998f5bd0c393da094e1967a72b" 
 
## express
appid: preview ? 352 : 122
appkey: preview ? "371bce7dc83817b7893bcdeed13799b5" : "680D290C8AA336EEB9F8C43BB68D41AF" 
 
## daijia
appid: preview ? 352 : 388
appkey: preview ? "371bce7dc83817b7893bcdeed13799b5" : "d9fc5b73a8d78fad3d6dffe419384e70"
 

Development

npm install
npm run dev

/nsky-auth/

    Package Sidebar

    Install

    npm i nsky-auth

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • freestyle21