Skip to content

Commit

Permalink
Add auth blocking handlers (#1080)
Browse files Browse the repository at this point in the history
* adding inital components for v1

* getting the sdk to work with the cli

* more tinkering

* reverting package-lock

* cleaning up things

* adding back old package-lock

* adding current package & check before using admin api

* cleaning up & starting tests

* removing old token verification peices & adding tests for v1/v2 handlers

* remove node-fetch

* bumping admin version & removing node-fetch types

* add back in the @types

* add RS256 alg to broken test

* adding DOM to fix tsc errors

* adding skip lib check

* address comments

* exporting HttpsError from v1 & v2 namespaces

* wrap the handlers, remove skipLibCheck, and add back in node-fetch

* Add polyfill to avoid depending on DOM or using skipLibCheck (#1085)

* Add polyfill to avoid depending on DOM or using skipLibCheck

* Formatter

* Linter

Co-authored-by: Thomas Bouldin <inlined@users.noreply.github.com>
  • Loading branch information
colerogers and inlined committed Apr 28, 2022
1 parent 78dae73 commit 143eea8
Show file tree
Hide file tree
Showing 19 changed files with 2,318 additions and 8,351 deletions.
9,028 changes: 1,367 additions & 7,661 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"./v2/alerts/appDistribution": "./lib/v2/providers/alerts/appDistribution.js",
"./v2/alerts/billing": "./lib/v2/providers/alerts/billing.js",
"./v2/alerts/crashlytics": "./lib/v2/providers/alerts/crashlytics.js",
"./v2/eventarc": "./lib/v2/providers/eventarc.js"
"./v2/eventarc": "./lib/v2/providers/eventarc.js",
"./v2/identity": "./lib/v2/providers/identity.js"
},
"typesVersions": {
"*": {
Expand Down Expand Up @@ -128,6 +129,9 @@
"v2/eventarc": [
"lib/v2/providers/eventarc"
],
"v2/identity": [
"lib/v2/providers/identity"
],
"v2/options": [
"lib/v2/options"
],
Expand Down Expand Up @@ -186,7 +190,7 @@
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"child-process-promise": "^2.2.1",
"firebase-admin": "10.0.0",
"firebase-admin": "^10.1.0",
"js-yaml": "^3.13.1",
"jsdom": "^16.2.1",
"jsonwebtoken": "^8.5.1",
Expand Down

0 comments on commit 143eea8

Please sign in to comment.