authllizer-bitbucket-oauth2
v0.2.0
Published
Authllizer Bitbucket OAuth2 Provider
Downloads
3
Maintainers
Readme
Authllizer Bitbucket OAuth2 Provider
Install
$ npm install --save authllizer-bitbucket-oauth2
# and install peer dependencies
$ npm install --save @authllizer/core
Use
import { Authllizer, IAuthllizerOptions } from '@authllizer/core';
import BitbucketOAuth2, { IBitbucketOAuth2Options } from 'authllizer-bitbucket-oauth2';
let authllizer: Authllizer = new Authllizer({
providers: {
bitbucket: BitbucketOAuth2.extend({
clientId: '***',
// ...
} as IBitbucketOAuth2Options),
// ...
},
// ...
} as IAuthllizerOptions);
License
Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.