passport-donationalerts

1.0.1 • Public • Published

passport-donationalerts

DonationAlerts is a trademark or registered trademark of My.com B.V. "passport-donationalerts" is not operated by, sponsored by, or affiliated with My.com B.V. in any way.

Passport strategy for authenticating with DonationAlerts.

Installation

Simply run in your terminal:

$ npm install passport-donationalerts

Example usage

const passport = require('passport');
const daStrategy = require('passport-donationalerts').Strategy;
 
passport.use(new daStrategy({
        clientID: 12345,
        clientSecret: 'AbCdEfGHiJKlMNoP123456890',
        callbackURL: 'http://127.0.0.1/daCb/'
    },
    function (accessToken, refreshToken, profile, done) {
        // work with recieved tokens and profile here
    }
));

Read the Passport documentation for further information.

Special thanks

  • Bioblaze opensource repository for codebase

Package Sidebar

Install

npm i passport-donationalerts

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.82 kB

Total Files

7

Last publish

Collaborators

  • brocaster