Skip to content

Commit e08a71d

Browse files
authored
Add identity common items for new functionality (#1027)
* moving common auth items to identity.ts and fixing UserRecord definitions * fixing copyright year and exporting old artifacts * adding in common files only * breaking out parsing functions and adding a bunch of tests * clean up & formatter * adding jsdoc comments * cleaning up update mask and adding more tests * fixing projectId references * changing classes to interfaces, adding in a key cache, and more tests * formatter * decoupling decode & verify * added tests for setting the expiration time * cleaning up var names * adding in retry for key verification * format * address comments * add package-lock * change decoded JWT to decoded payload
1 parent 6d146aa commit e08a71d

File tree

4 files changed

+2105
-36
lines changed

4 files changed

+2105
-36
lines changed

package-lock.json

Lines changed: 22 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@
157157
"@types/express": "4.17.3",
158158
"cors": "^2.8.5",
159159
"express": "^4.17.1",
160-
"lodash": "^4.17.14"
160+
"lodash": "^4.17.14",
161+
"node-fetch": "^2.6.7"
161162
},
162163
"devDependencies": {
163164
"@types/chai": "^4.1.7",
@@ -168,6 +169,7 @@
168169
"@types/mock-require": "^2.0.0",
169170
"@types/nock": "^10.0.3",
170171
"@types/node": "^8.10.50",
172+
"@types/node-fetch": "^3.0.3",
171173
"@types/sinon": "^7.0.13",
172174
"chai": "^4.2.0",
173175
"chai-as-promised": "^7.1.1",

0 commit comments

Comments
 (0)