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