Skip to content

Commit

Permalink
refactor!: Remove Unused RefreshOptions type in OAuth2Client
Browse files Browse the repository at this point in the history
  • Loading branch information
d-goog committed Feb 21, 2025
1 parent f23e807 commit 449af2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/auth/oauth2client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,12 +545,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 = {};
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export {
GetTokenOptions,
OAuth2Client,
OAuth2ClientOptions,
RefreshOptions,
TokenInfo,
VerifyIdTokenOptions,
ClientAuthentication,
Expand Down

0 comments on commit 449af2c

Please sign in to comment.