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