passport-untappd
Passport strategy for authenticating with Untappd using the OAuth 2.0 API.
Install
$ npm install passport-untappd
Usage
Configure Strategy
The Untappd authentication strategy authenticates users using an Untappd account and OAuth 2.0 tokens. The strategy requires a verify callback, which accepts these credentials and calls done
providing a user, as well as options
specifying an app ID, app secret, callback URL.
passport
Authenticate Requests
Use passport.authenticate()
, specifying the 'untappd'
strategy, to authenticate requests.
For example, as route middleware in an Express application:
app; app;
License
Copyright (c) 2015 Shuhei Kagawa