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

0.2.0 • Public • Published

Authllizer Github OAuth2 Provider

Source Code Version MIT License Bundle Size TypeScript

Install

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

Use

import { Authllizer, IAuthllizerOptions } from '@authllizer/core';
import GithubOAuth2, { IGithubOAuth2Options } from 'authllizer-github-oauth2';

let authllizer: Authllizer = new Authllizer({
    providers: {
        github: GithubOAuth2.extend({
            clientId: '***',
            // ...
        } as IGithubOAuth2Options),
        // ...
    },
    // ...
} as IAuthllizerOptions);

License

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

Package Sidebar

Install

npm i authllizer-github-oauth2

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

40.4 kB

Total Files

15

Last publish

Collaborators

  • yisraelx