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