Skip to content

Commit

Permalink
fixup! IAM support phase II: token management
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed Apr 20, 2019
1 parent b388ab6 commit 3c5d52b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/gp-iam.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ GpIAM.prototype.tokenCache = {};
GpIAM.prototype.API_KEY = "API-KEY"; // GP SPECIFIC header

GpIAM.prototype.VERBOSE = process.env.GP_VERBOSE || false;
GpIAM.prototype.GP_USE_APIKEY = process.env.GP_USE_APIKEY; // if false: use token manager
GpIAM.prototype.GP_USE_APIKEY = process.env.GP_USE_APIKEY || false; // if false: use token manager

/**
* Generate HTTP Authorization header.
Expand Down
13 changes: 2 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
},
"dependencies": {
"bent": "^1.4.0",
"form-data": "^2.3.3",
"g11n-pipeline-flatten": "^2.0.0",
"minimist": "^1.2.0",
"swagger-client": "^3.8.25"
Expand Down

0 comments on commit 3c5d52b

Please sign in to comment.