Skip to content

Commit

Permalink
Add support for IAM tokens (watson-developer-cloud#672)
Browse files Browse the repository at this point in the history
* add support for iam tokens

* revert example

* add credentials check

* manage iam tokens

* add tests for token logic in base service

* make the token manager its own service

* remove old token request handler

* use sendRequest in token manager

* add tests

* use camelCase

* add base service tests

* make request/refresh methods private

* use iamUrl

* check for null token manager in setAccessToken
  • Loading branch information
dpopp07 authored and germanattanasio committed Apr 23, 2018
1 parent 321d855 commit aa6953d
Show file tree
Hide file tree
Showing 25 changed files with 760 additions and 293 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ text-to-speech/*.js
speech-to-text/*.js
authorization/*.js
assistant/*.js
iam-token-manager/*.js
index.js
.nyc_output
**/*.d.ts
Expand Down
Loading

0 comments on commit aa6953d

Please sign in to comment.