Skip to content

Latest commit

 

History

History

authllizer-spotify-oauth2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Authllizer Spotify OAuth2 Provider

Source Code Version MIT License Bundle Size TypeScript

Install

$ npm install --save authllizer-spotify-oauth2
# and install peer dependencies 
$ npm install --save @authllizer/core

Use

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);

License

Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.