Skip to content

Commit

Permalink
feat(auth): adds support workload identity federation (#2517)
Browse files Browse the repository at this point in the history
  • Loading branch information
bojeil-google committed Feb 17, 2021
1 parent 5646a65 commit a10707c
Show file tree
Hide file tree
Showing 500 changed files with 819 additions and 202 deletions.
7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -27,7 +27,7 @@
"system-test": "mocha build/system-test",
"samples-test": "cd samples && npm install && npm link ../ && pwd && npm test",
"lint": "gts check",
"compile": "tsc -p .",
"compile": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsc -p .",
"build-tools": "tsc -p tsconfig.tools.json",
"clean": "gts clean",
"fix": "gts fix",
Expand All @@ -53,8 +53,8 @@
"client library"
],
"dependencies": {
"google-auth-library": "^6.0.0",
"googleapis-common": "^5.0.0"
"google-auth-library": "^7.0.2",
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.10",
Expand All @@ -76,6 +76,7 @@
"@types/yargs-parser": "^20.0.0",
"c8": "^7.0.0",
"codecov": "^3.4.0",
"cross-env": "^7.0.3",
"execa": "^5.0.0",
"gaxios": "^4.0.0",
"gts": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/abusiveexperiencereport/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/abusiveexperiencereport/v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace abusiveexperiencereport_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/acceleratedmobilepageurl/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/acceleratedmobilepageurl/v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace acceleratedmobilepageurl_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/accessapproval/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/accessapproval/v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace accessapproval_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/accesscontextmanager/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/accesscontextmanager/v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace accesscontextmanager_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/accesscontextmanager/v1beta.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace accesscontextmanager_v1beta {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adexchangebuyer/v1.2.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adexchangebuyer_v1_2 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adexchangebuyer/v1.3.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adexchangebuyer_v1_3 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adexchangebuyer/v1.4.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adexchangebuyer_v1_4 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexchangebuyer2/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adexchangebuyer2/v2beta1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adexchangebuyer2_v2beta1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adexperiencereport/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adexperiencereport/v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adexperiencereport_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/admin/datatransfer_v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace admin_datatransfer_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/admin/directory_v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace admin_directory_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/admin/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/admin/reports_v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace admin_reports_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/admob/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/admob/v1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace admob_v1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 2 additions & 0 deletions src/apis/admob/v1beta.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace admob_v1beta {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adsense/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adsense/v1.4.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adsense_v1_4 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/adsensehost/package.json
Expand Up @@ -28,7 +28,7 @@
"webpack": "webpack"
},
"dependencies": {
"googleapis-common": "^5.0.0"
"googleapis-common": "^5.0.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.8.10",
Expand Down
2 changes: 2 additions & 0 deletions src/apis/adsensehost/v4.1.ts
Expand Up @@ -23,6 +23,7 @@ import {
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
Expand Down Expand Up @@ -50,6 +51,7 @@ export namespace adsensehost_v4_1 {
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;

/**
Expand Down

0 comments on commit a10707c

Please sign in to comment.