Skip to content

Commit 449af2c

Browse files
committed
refactor!: Remove Unused RefreshOptions type in OAuth2Client
1 parent f23e807 commit 449af2c

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/auth/oauth2client.ts

-6
Original file line numberDiff line numberDiff line change
@@ -545,12 +545,6 @@ export interface OAuth2ClientOptions
545545
clientAuthentication?: ClientAuthentication;
546546
}
547547

548-
// Re-exporting here for backwards compatibility
549-
export type RefreshOptions = Pick<
550-
AuthClientOptions,
551-
'eagerRefreshThresholdMillis' | 'forceRefreshOnFailure'
552-
>;
553-
554548
export class OAuth2Client extends AuthClient {
555549
private redirectUri?: string;
556550
private certificateCache: Certificates = {};

src/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export {
4242
GetTokenOptions,
4343
OAuth2Client,
4444
OAuth2ClientOptions,
45-
RefreshOptions,
4645
TokenInfo,
4746
VerifyIdTokenOptions,
4847
ClientAuthentication,

0 commit comments

Comments
 (0)