$ npm install --save authllizer-live-oauth2
# and install peer dependencies
$ npm install --save @authllizer/core
import { Authllizer, IAuthllizerOptions } from '@authllizer/core';
import LiveOAuth2, { ILiveOAuth2Options } from 'authllizer-live-oauth2';
let authllizer: Authllizer = new Authllizer({
providers: {
live: LiveOAuth2.extend({
clientId: '***',
// ...
} as ILiveOAuth2Options),
// ...
},
// ...
} as IAuthllizerOptions);
Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.