aoauth
OAuth server for akoa
Last updated 9 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install aoauth 
SYNC missed versions from official npm registry.

aoauth

Build Status Code Climate Code Coverage npm Version JS Standard

OAuth server for akoa

Installation

$ npm install aoauth --save

Usage

'use strict'

const co = require('co')
const aoauth = require('aoauth')

co(function * () {
  let server = aoauth({
    twitter: aoauth.twitterStrategy(
      'your-consumer-key',
      'your-secret',
      'http://localhost:3000/oauth/twitter/callback'
    )
  }, {
    prefix: '/oauth'
  })
  server.listen(3010)
}).catch((err) => console.error(err))

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (13)
Dev Dependencies (11)

Copyright 2014 - 2016 © taobao.org |