From 4ef5baf77ee44ba4fbe9a4718cf35a3a65aedf9e Mon Sep 17 00:00:00 2001 From: Dhoni77 Date: Tue, 7 Nov 2023 15:14:28 +0530 Subject: [PATCH] refactor: Remove Transporter and DefaultTransporter from GoogleAuth class --- src/auth/googleauth.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/auth/googleauth.ts b/src/auth/googleauth.ts index 647090c1..170dc935 100644 --- a/src/auth/googleauth.ts +++ b/src/auth/googleauth.ts @@ -21,8 +21,6 @@ import * as path from 'path'; import * as stream from 'stream'; import {Crypto, createCrypto} from '../crypto/crypto'; -import {DefaultTransporter, Transporter} from '../transporters'; - import {Compute, ComputeOptions} from './computeclient'; import {CredentialBody, ImpersonatedJWTInput, JWTInput} from './credentials'; import {IdTokenClient} from './idtokenclient'; @@ -134,8 +132,6 @@ const GoogleAuthExceptionMessages = { } as const; export class GoogleAuth { - transporter?: Transporter; - /** * Caches a value indicating whether the auth layer is running on Google * Compute Engine. @@ -168,11 +164,6 @@ export class GoogleAuth { private scopes?: string | string[]; private clientOptions?: AuthClientOptions; - /** - * Export DefaultTransporter as a static property of the class. - */ - static DefaultTransporter = DefaultTransporter; - /** * Configuration is resolved in the following order of precedence: * - {@link GoogleAuthOptions.credentials `credentials`}