passport-fellowshipone
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -93,3 +93,4 @@ /** | ||
this._performSecureRequest(oauth_token, oauth_token_secret, this._clientOptions.accessTokenHttpMethod, this._accessUrl, extraParams, null, null, function(error, data, response) { | ||
this._performSecureRequest(oauth_token, oauth_token_secret, this._clientOptions.accessTokenHttpMethod, this._accessUrl, extraParams, null, null, | ||
function(error, data, response) { | ||
if (error) callback(error); | ||
@@ -96,0 +97,0 @@ else { |
{ | ||
"name": "passport-fellowshipone", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Fellowship One (F1) authentication strategy for Passport.", | ||
@@ -32,19 +32,18 @@ "keywords": [ | ||
"dependencies": { | ||
"URIjs": "^1.13.2", | ||
"async": "^0.9.0", | ||
"passport-oauth": "^1.0.0", | ||
"pkginfo": "^0.3.0", | ||
"request": "^2.36.0" | ||
"URIjs": "~1.15.0", | ||
"async": "~0.9.0", | ||
"passport-oauth": "~1.0.0", | ||
"pkginfo": "~0.3.0", | ||
"request": "~2.54.0" | ||
}, | ||
"devDependencies": { | ||
"codeclimate-test-reporter": "0.0.3", | ||
"coveralls": "^2.11.0", | ||
"istanbul": "^0.2.16", | ||
"jshint": "^2.5.2", | ||
"mocha": "^1.20.1", | ||
"should": "^4.0.4", | ||
"sinon": "^1.10.2" | ||
"codeclimate-test-reporter": "~0.0.4", | ||
"istanbul": "~0.3.13", | ||
"jshint": "~2.6.3", | ||
"mocha": "~2.2.1", | ||
"should": "~5.2.0", | ||
"sinon": "~1.14.1" | ||
}, | ||
"scripts": { | ||
"test": "make test-coveralls" | ||
"test": "make test-travis" | ||
}, | ||
@@ -51,0 +50,0 @@ "engines": { |
@@ -1,6 +0,6 @@ | ||
[](http://travis-ci.org/hairyhenderson/passport-fellowshipone) | ||
[](https://coveralls.io/r/hairyhenderson/passport-fellowshipone) | ||
[](https://codeclimate.com/github/hairyhenderson/passport-fellowshipone) | ||
[](https://gemnasium.com/hairyhenderson/passport-fellowshipone) | ||
[](https://www.npmjs.org/package/passport-fellowshipone) | ||
[![Build Status][travis-image]][travis-url] | ||
[![Code Coverage][coverage-image]][coverage-url] | ||
[![Code Climate][climate-image]][climate-url] | ||
[![Dependency Status][gemnasium-image]][gemnasium-url] | ||
[![Current Version][npm-image]][npm-url] | ||
@@ -21,3 +21,3 @@ # Passport-FellowshipOne | ||
The Fellowship One authentication strategy authenticates users using a Fellowship One account and OAuth 1.0a tokens. The strategy requires a `verify` callback, which accepts these credentials and calls `done` providing a user, as well as `options` specifying a developer key and callback URL. | ||
The Fellowship One authentication strategy authenticates users using a Fellowship One account and OAuth 1.0a tokens. The strategy requires a `verify` callback, which accepts these credentials and calls `done` providing a user, as well as `options` specifying a developer key and callback URL. | ||
@@ -46,3 +46,3 @@ ```js | ||
- `churchCode` - Your Fellowship One Church Code. When set, this will be used to automatically build the `apiURL` option. _If you want to use the staging environment, you must also set `apiURL`!_ | ||
- `apiURL` - The base URL for Fellowship One API operations (i.e. `https://{churchCode}.staging.fellowshiponeapi.com/v1`). | ||
- `apiURL` - The base URL for Fellowship One API operations (i.e. `https://{churchCode}.staging.fellowshiponeapi.com/v1`). | ||
This is auto-calculated from `churchCode` when not specified, but can be provided here for customizations (i.e. pointing to staging). | ||
@@ -73,3 +73,3 @@ Supports [URI Templating](http://tools.ietf.org/html/rfc6570), using the `options` object to provide properties. | ||
app.get('/auth/fellowshipone/callback', | ||
app.get('/auth/fellowshipone/callback', | ||
passport.authenticate('fellowshipone', { failureRedirect: '/login' }), | ||
@@ -103,2 +103,17 @@ function(req, res) { | ||
Copyright (c) 2014 Dave Henderson | ||
Copyright (c) 2014-2015 Dave Henderson | ||
[travis-image]: https://img.shields.io/travis/hairyhenderson/passport-fellowshipone.svg?style=flat | ||
[travis-url]: https://travis-ci.org/hairyhenderson/passport-fellowshipone | ||
[coverage-image]: https://img.shields.io/codeclimate/coverage/github/hairyhenderson/passport-fellowshipone.svg?style=flat | ||
[coverage-url]: https://codeclimate.com/github/hairyhenderson/passport-fellowshipone | ||
[climate-image]: https://img.shields.io/codeclimate/github/hairyhenderson/passport-fellowshipone.svg?style=flat | ||
[climate-url]: https://codeclimate.com/github/hairyhenderson/passport-fellowshipone | ||
[gemnasium-image]: https://img.shields.io/gemnasium/hairyhenderson/passport-fellowshipone.svg?style=flat | ||
[gemnasium-url]: https://gemnasium.com/hairyhenderson/passport-fellowshipone | ||
[npm-image]: https://img.shields.io/npm/v/passport-fellowshipone.svg?style=flat | ||
[npm-url]: https://npmjs.org/package/passport-fellowshipone |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6
116
20688
7
320
+ AddedURIjs@1.15.2(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedasn1@0.1.11(transitive)
+ Addedassert-plus@0.1.5(transitive)
+ Addedaws-sign2@0.5.0(transitive)
+ Addedbl@0.9.5(transitive)
+ Addedbluebird@2.11.0(transitive)
+ Addedboom@2.10.1(transitive)
+ Addedcaseless@0.9.0(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedcombined-stream@0.0.7(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcryptiles@2.0.5(transitive)
+ Addedctype@0.5.3(transitive)
+ Addeddelayed-stream@0.0.5(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedform-data@0.2.0(transitive)
+ Addedgenerate-function@2.3.1(transitive)
+ Addedgenerate-object-property@1.2.0(transitive)
+ Addedhar-validator@1.8.0(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhawk@2.3.1(transitive)
+ Addedhoek@2.16.3(transitive)
+ Addedhttp-signature@0.10.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-my-ip-valid@1.0.1(transitive)
+ Addedis-my-json-valid@2.20.6(transitive)
+ Addedis-property@1.0.2(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedjsonpointer@5.0.1(transitive)
+ Addedmime-db@1.12.0(transitive)
+ Addedmime-types@2.0.14(transitive)
+ Addednode-uuid@1.4.8(transitive)
+ Addedoauth-sign@0.6.0(transitive)
+ Addedqs@2.4.2(transitive)
+ Addedreadable-stream@1.0.34(transitive)
+ Addedrequest@2.54.0(transitive)
+ Addedsntp@1.0.9(transitive)
+ Addedstring_decoder@0.10.31(transitive)
+ Addedstringstream@0.0.6(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedtldts@6.1.82(transitive)
+ Addedtldts-core@6.1.82(transitive)
+ Addedtough-cookie@5.1.2(transitive)
+ Addedtunnel-agent@0.4.3(transitive)
+ Addedxtend@4.0.2(transitive)
- RemovedURIjs@1.16.1(transitive)
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.15.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
UpdatedURIjs@~1.15.0
Updatedasync@~0.9.0
Updatedpassport-oauth@~1.0.0
Updatedpkginfo@~0.3.0
Updatedrequest@~2.54.0