0.4.0 • Published 4 years ago

oauth-client-lite v0.4.0

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

oauth-client-lite

Installment

$ npm i

Usage

// emailDomainWhiteList is an Array ['company.com', outher-company.com]
// emailDomainWhiteList is optional
// support these auth providers: BitbucketAuth, GoogleAuth, DingtalkAuth

const { BitbucketAuth } = require('oauth-client-lite');
const authClient = new BitbucketAuth({
  appid,
  appsecret,
  emailDomainWhiteList,
});
const userInfo = await authClient.getUserData({ tmpAuthCode });

License

MIT

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago