aoauth
OAuth server for akoa
Last updated 2 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ 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

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

7 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 7
This Month 14
Last Day 7
Last Week 0
Last Month 8
Dependencies (13)
Dev Dependencies (11)

Copyright 2014 - 2016 © taobao.org |