Comparing version 0.6.5 to 0.6.6
{ | ||
"name": "freedom", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"homepage": "http://freedomjs.org", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -28,3 +28,3 @@ { | ||
"text": "string", | ||
"binary": "buffer" | ||
"buffer": "buffer" | ||
}}, | ||
@@ -31,0 +31,0 @@ "getBinaryType": {"type": "method", "value": [], "ret": "string"}, |
{ | ||
"name": "freedom", | ||
"description": "Embracing a distributed web", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"homepage": "http://freedomjs.org", | ||
@@ -6,0 +6,0 @@ "bugs": { |
var testUtil = require('../../util'); | ||
module.exports = function (oa, pageauths, setup) { | ||
module.exports = function (oa, pageauths, redirectURIs, setup) { | ||
'use strict'; | ||
var oauth; | ||
var registeredRedirectURIs = [ | ||
"https://willscott.github.io/freedom-oauth-relay/oauth-relay.html" | ||
]; | ||
var clientId = "513137528418-i52cg29ug3qjiqta1ttcvrguhrjjq2so.apps.googleusercontent.com"; | ||
@@ -24,3 +21,3 @@ | ||
o.initiateOAuth(registeredRedirectURIs).then(function(obj) { | ||
o.initiateOAuth(redirectURIs).then(function(obj) { | ||
// Cheating a little bit to avoid going through Google. | ||
@@ -27,0 +24,0 @@ // Just call the redirect URL directly e.g. |
@@ -37,9 +37,13 @@ var testUtil = require("../util"); | ||
// core.oauth | ||
describe("integration: core.oauth", | ||
describe("integration: core.oauth - localpageauth", | ||
require("./coreIntegration/oauth.integration.src").bind(this, | ||
require("../../providers/core/core.oauth"), | ||
[ | ||
require("../../providers/oauth/oauth.localpageauth"), | ||
require("../../providers/oauth/oauth.remotepageauth"), | ||
], | ||
[ require("../../providers/oauth/oauth.localpageauth") ], | ||
[ "http://localhost:9876/", "http://localhost:9876/debug.html", "http://localhost:9876/context.html" ], | ||
setup)); | ||
describe("integration: core.oauth - remotepageauth", | ||
require("./coreIntegration/oauth.integration.src").bind(this, | ||
require("../../providers/core/core.oauth"), | ||
[ require("../../providers/oauth/oauth.remotepageauth") ], | ||
[ "https://willscott.github.io/freedom-oauth-relay/oauth-relay.html" ], | ||
setup)); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1229926
23175