1.2.3 • Published 8 years ago

hdu-oauth2-client v1.2.3

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.0.4

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago