From 96f3d81aa3ebb2b77c3522f130b3642f36d2e586 Mon Sep 17 00:00:00 2001 From: Allen Zhou <46854522+allenzhou101@users.noreply.github.com> Date: Tue, 25 Feb 2025 15:29:20 -0800 Subject: [PATCH] Adjust function types to be accessible to subclasses --- src/server/auth/proxyProvider.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/server/auth/proxyProvider.ts b/src/server/auth/proxyProvider.ts index 2b5ad3f2..805b3d66 100644 --- a/src/server/auth/proxyProvider.ts +++ b/src/server/auth/proxyProvider.ts @@ -40,11 +40,11 @@ export type ProxyOptions = { * Implements an OAuth server that proxies requests to another OAuth server. */ export class ProxyOAuthServerProvider implements OAuthServerProvider { - private readonly _endpoints: ProxyEndpoints; - private readonly _verifyAccessToken: (token: string) => Promise; - private readonly _getClient: (clientId: string) => Promise; + protected readonly _endpoints: ProxyEndpoints; + protected readonly _verifyAccessToken: (token: string) => Promise; + protected readonly _getClient: (clientId: string) => Promise; - public revokeToken?: ( + revokeToken?: ( client: OAuthClientInformationFull, request: OAuthTokenRevocationRequest ) => Promise;