Skip to content

Commit 8eafe45

Browse files
nurdabolatovflovilmart
authored andcommitted
vk.com provider registered (#2579)
* vk.com auth data manager implemented * vk.com provider registered * Removed all the unnecessary changes * Revert "Removed all the unnecessary changes" This reverts commit 7dec629. * Revert "vk.com provider registered" This reverts commit 25705d3. * Reverted all the unnecessary changes * vk.com auth manager bugs fixed
1 parent a99bd82 commit 8eafe45

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

spec/OAuth.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe('OAuth', function() {
137137
})
138138
});
139139

140-
["facebook", "github", "instagram", "google", "linkedin", "meetup", "twitter", "janrainengage", "janraincapture"].map(function(providerName){
140+
["facebook", "github", "instagram", "google", "linkedin", "meetup", "twitter", "janrainengage", "janraincapture", "vkontakte"].map(function(providerName){
141141
it("Should validate structure of "+providerName, (done) => {
142142
var provider = require("../src/authDataManager/"+providerName);
143143
jequal(typeof provider.validateAuthData, "function");

src/authDataManager/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ let spotify = require("./spotify");
99
let digits = require("./twitter"); // digits tokens are validated by twitter
1010
let janrainengage = require("./janrainengage");
1111
let janraincapture = require("./janraincapture");
12+
let vkontakte = require("./vkontakte");
1213

1314
let anonymous = {
1415
validateAuthData: () => {
@@ -31,7 +32,8 @@ let providers = {
3132
anonymous,
3233
digits,
3334
janrainengage,
34-
janraincapture
35+
janraincapture,
36+
vkontakte
3537
}
3638

3739
module.exports = function(oauthOptions = {}, enableAnonymousUsers = true) {

src/authDataManager/vkontakte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
// Helper functions for accessing the instagram API.
3+
// Helper functions for accessing the vkontakte API.
44
var https = require('https');
55
var Parse = require('parse/node').Parse;
66

0 commit comments

Comments
 (0)