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