oauth-zero-legged
Advanced tools
Comparing version 0.0.7 to 1.0.0
exports.signer = require('./lib/Signer'); | ||
exports.client = require('./lib/Client'); |
@@ -0,0 +0,0 @@ var http = require('http'); |
@@ -123,3 +123,3 @@ var url = require('url'); | ||
parsed_url.query[key].sort().forEach(function(val) { | ||
normalizedRequestParams += key + "=" + encodeURIComponent(val) + "&"; | ||
normalizedRequestParams += encodeURIComponent(key) + "=" + encodeURIComponent(val) + "&"; | ||
}); | ||
@@ -126,0 +126,0 @@ } else { |
{ | ||
"name": "oauth-zero-legged", | ||
"version": "0.0.7", | ||
"version": "1.0.0", | ||
"description": "oauth-zero-legged", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -0,0 +0,0 @@ [![Build Status](https://drone.io/github.com/xl8/oauth-zero-legged/status.png)](https://drone.io/github.com/xl8/oauth-zero-legged/latest) |
@@ -0,0 +0,0 @@ var |
@@ -92,3 +92,4 @@ var signerLib = require('../lib/Signer.js'), | ||
signerLib.createSigner("popeye@exelate.com","^^S,6r5:t;Z#&Tt").calcOAuthSignature("GET", "http://myserver.com:8080/calculate/precisely_and_accurately?a=1&b=2&a=7&a=2&c=78&b=5", {}, "123456789", "abcdefghijklmnop") | ||
.should.equal("GfTHeZSw04NXbjAMzS0poYeJ3tU=") | ||
signerLib.createSigner("popeye@exelate.com","^^S,6r5:t;Z#&Tt").calcOAuthSignature("GET", "http://myserver.com:8080/calculate/precisely_and_accurately?ap[]=1&a[]=2&a[]=3", {}, "123456789", "abcdefghijklmnop") | ||
.should.equal("NB6SYLypxFMkedA4FzyeeIhF8P4=") | ||
signerLib.createSigner("kyle@exelate.com","plokijl,kmjn").calcOAuthSignature("POST", "http://trial.com/popeye/sailor/man", {}, "1419259401", "JuXH8bgWisr") | ||
@@ -95,0 +96,0 @@ .should.equal("A2Js3ZuA8lwsUISg9aq7OuSuAss=") |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
452
1
28230