Skip to content

Commit 659496b

Browse files
Dhoni77d-goog
andauthored
refactor: Remove Transporter and DefaultTransporter from GoogleAuth class (#1688)
Co-authored-by: d-goog <[email protected]>
1 parent b0c3a43 commit 659496b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/auth/googleauth.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import * as path from 'path';
2121
import * as stream from 'stream';
2222

2323
import {Crypto, createCrypto} from '../crypto/crypto';
24-
import {DefaultTransporter, Transporter} from '../transporters';
25-
2624
import {Compute, ComputeOptions} from './computeclient';
2725
import {CredentialBody, ImpersonatedJWTInput, JWTInput} from './credentials';
2826
import {IdTokenClient} from './idtokenclient';
@@ -171,8 +169,6 @@ export const GoogleAuthExceptionMessages = {
171169
} as const;
172170

173171
export class GoogleAuth<T extends AuthClient = JSONClient> {
174-
transporter?: Transporter;
175-
176172
/**
177173
* Caches a value indicating whether the auth layer is running on Google
178174
* Compute Engine.
@@ -210,11 +206,6 @@ export class GoogleAuth<T extends AuthClient = JSONClient> {
210206
private scopes?: string | string[];
211207
private clientOptions: AuthClientOptions = {};
212208

213-
/**
214-
* Export DefaultTransporter as a static property of the class.
215-
*/
216-
static DefaultTransporter = DefaultTransporter;
217-
218209
/**
219210
* Configuration is resolved in the following order of precedence:
220211
* - {@link GoogleAuthOptions.credentials `credentials`}

0 commit comments

Comments
 (0)