diff --git a/core/packages/google-auth-library-nodejs/src/auth/oauth2client.ts b/core/packages/google-auth-library-nodejs/src/auth/oauth2client.ts index 138e66c462b5..4d1003f711a5 100644 --- a/core/packages/google-auth-library-nodejs/src/auth/oauth2client.ts +++ b/core/packages/google-auth-library-nodejs/src/auth/oauth2client.ts @@ -546,12 +546,6 @@ export interface OAuth2ClientOptions clientAuthentication?: ClientAuthentication; } -// Re-exporting here for backwards compatibility -export type RefreshOptions = Pick< - AuthClientOptions, - 'eagerRefreshThresholdMillis' | 'forceRefreshOnFailure' ->; - export class OAuth2Client extends AuthClient { private redirectUri?: string; private certificateCache: Certificates = {}; diff --git a/core/packages/google-auth-library-nodejs/src/index.ts b/core/packages/google-auth-library-nodejs/src/index.ts index 5eabfea9c70a..5d7878fe6a33 100644 --- a/core/packages/google-auth-library-nodejs/src/index.ts +++ b/core/packages/google-auth-library-nodejs/src/index.ts @@ -42,7 +42,6 @@ export { GetTokenOptions, OAuth2Client, OAuth2ClientOptions, - RefreshOptions, TokenInfo, VerifyIdTokenOptions, ClientAuthentication,