authllizer-reddit-oauth2
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Authllizer Reddit OAuth2 Provider

Source Code Version MIT License Bundle Size TypeScript

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.

/authllizer-reddit-oauth2/

    Package Sidebar

    Install

    npm i authllizer-reddit-oauth2

    Weekly Downloads

    2

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    40.2 kB

    Total Files

    15

    Last publish

    Collaborators

    • yisraelx