1.2.3 • Published 9 years ago

hdu-oauth2-client v1.2.3

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

hdu-oauth2-client

npm npm Build Status dependencies devDependency Status

OAuth2 client for Hangzhou Dianzi University.

Usage

import {OAuthClient} from 'hdu-oauth2-client';

const client = new OAuthClient({ id, secret, version });

client.get(resourcePath, (err, response) => {
  // yay, response received!
});

expressApp.get('/proxy_prefix', client.proxy('/proxy_prefix', (err) => {
    // handle proxy error
}));

LICENSE

MIT

1.2.3

9 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago