New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fuel-auth

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fuel-auth - npm Package Compare versions

Comparing version

to
0.5.2

7

lib/fuel-auth.js

@@ -58,2 +58,3 @@ /**

this.accessToken = options.accessToken;
this.scope = options.scope;
this.expiration = null;

@@ -123,5 +124,9 @@ this.version = version;

// adding refresh token to json if it's there
if( this.refreshToken ) {
// adding refresh token to json if it's there
options.json.refreshToken = this.refreshToken;
} else if ( this.scope ) {
// adding scope to json if it's there
// it's not valid to use both scope and a refresh token
options.json.scope = this.scope;
}

@@ -128,0 +133,0 @@

5

package.json
{
"name": "fuel-auth",
"version": "0.5.1",
"version": "0.5.2",
"description": "Node Library for Authenticating with ExactTarget Fuel. Used for authenticating REST and SOAP APIs.",

@@ -17,3 +17,4 @@ "main": "./lib/fuel-auth.js",

"Kelly Andrews <kandrews@exacttarget.com>",
"Douglas Wilson <dougcwilson@exacttarget.com>"
"Douglas Wilson <dougcwilson@exacttarget.com>",
"David Brainer-Banker <dbrainer-banker@exacttarget.com>"
],

@@ -20,0 +21,0 @@ "devDependencies": {

@@ -27,2 +27,4 @@ Fuel Auth (for Node.js) [![Build Status](https://travis-ci.org/ExactTarget/Fuel-Node-Auth.svg)](https://travis-ci.org/ExactTarget/Fuel-Node-Auth)

* default: https://auth.exacttargetapis.com/v1/requestToken
* scope - not required
* can be used to set a client context when a refreshToken is not available

@@ -120,2 +122,3 @@ ## API

* Kelly Andrews - [twitter](https://twitter.com/kellyjandrews), [github](https://github.com/kellyjandrews)
* David Brainer-Banker - [twitter](https://twitter.com/TweetTypography), [github](https://github.com/tweettypography)
* Alex Vernacchia - [twitter](https://twitter.com/vernacchia), [github](https://github.com/vernak2539)

@@ -125,10 +128,8 @@ * Doug Wilson - [twitter](https://twitter.com/blipsofadoug), [github](https://github.com/dougwilson)

## ChangeLog
* **0.5.1** - 2014-08-19
* fixed Travis CI testing for 0.8 and 0.10
* **0.5.0** - 2014-08-06
* updated request dependency version due to qs module security vulnerability
* **0.4.0** - 2014-08-06
* removed event emitter - *breaking*
* **0.3.0** - 2014-08-05
* getAccessToken API change - *breaking*
* **0.5.2** - 2014-10-16 - added easier way to use scope option when requesting token
* **0.5.1** - 2014-08-19 - fixed Travis CI testing for 0.8 and 0.10
* **0.5.0** - 2014-08-06 - updated request dependency version due to qs module security vulnerability
* **0.4.0** - 2014-08-06 - removed event emitter - *breaking*
* **0.3.0** - 2014-08-05 - getAccessToken API change - *breaking*
* **0.2.1** - 2014-08-05

@@ -144,4 +145,3 @@ * completed unit tests

* docs/readme updates
* **0.1.1** - 2014-06-23
* readme updates
* **0.1.1** - 2014-06-23 - readme updates
* **0.1.0** - 2014-06-23

@@ -148,0 +148,0 @@ * adding callbacks to getAccessToken API