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