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