Skip to content

Commit 96f3d81

Browse files
committed
Adjust function types to be accessible to subclasses
1 parent aa5690b commit 96f3d81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/server/auth/proxyProvider.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ export type ProxyOptions = {
4040
* Implements an OAuth server that proxies requests to another OAuth server.
4141
*/
4242
export class ProxyOAuthServerProvider implements OAuthServerProvider {
43-
private readonly _endpoints: ProxyEndpoints;
44-
private readonly _verifyAccessToken: (token: string) => Promise<AuthInfo>;
45-
private readonly _getClient: (clientId: string) => Promise<OAuthClientInformationFull | undefined>;
43+
protected readonly _endpoints: ProxyEndpoints;
44+
protected readonly _verifyAccessToken: (token: string) => Promise<AuthInfo>;
45+
protected readonly _getClient: (clientId: string) => Promise<OAuthClientInformationFull | undefined>;
4646

47-
public revokeToken?: (
47+
revokeToken?: (
4848
client: OAuthClientInformationFull,
4949
request: OAuthTokenRevocationRequest
5050
) => Promise<void>;

0 commit comments

Comments
 (0)