authllizer-github-oauth2
v0.2.0
Published
Authllizer Github OAuth2 Provider
Downloads
5
Maintainers
Readme
Authllizer Github OAuth2 Provider
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.