Passport-uber-v2
Passport strategy for authenticating with Uber using the OAuth 2.0 API.
This module lets you authenticate using Uber in your Node.js Express (or Connect) server applications.
Install
$ npm install passport-uber-v2
Usage
Configure Strategy
The Uber authentication strategy authenticates users using an Uber account and OAuth tokens. The strategy requires a verify
callback, which accepts these credentials and calls done
providing a user, as well as options
specifying a client id , client secret, and callback URL.
var uberStrategy = Strategy; passport;
Authenticate Requests
Use passport.authenticate()
, specifying the 'uber'
strategy, to authenticate requests.
For example, as route middleware in an Express application:
app; app;
License
Copyright (c) 2016 Tomomi ❤ Imura <http://girliemac.com>