diff --git a/api/core/plugin/impl/oauth.py b/api/core/plugin/impl/oauth.py index 13873b6ba8..b006bf1d4b 100644 --- a/api/core/plugin/impl/oauth.py +++ b/api/core/plugin/impl/oauth.py @@ -37,7 +37,6 @@ class OAuthHandler(BasePluginClient): return resp raise ValueError("No response received from plugin daemon for authorization URL request.") - def get_credentials( self, tenant_id: str, @@ -76,7 +75,6 @@ class OAuthHandler(BasePluginClient): return resp raise ValueError("No response received from plugin daemon for authorization URL request.") - def _convert_request_to_raw_data(self, request: Request) -> bytes: """ Convert a Request object to raw HTTP data. diff --git a/api/services/plugin/oauth_service.py b/api/services/plugin/oauth_service.py index 28b955a3d5..4077ec38d3 100644 --- a/api/services/plugin/oauth_service.py +++ b/api/services/plugin/oauth_service.py @@ -41,7 +41,6 @@ class OAuthProxyService(BasePluginClient): ) return context_id - @staticmethod def use_proxy_context(context_id, max_age=__MAX_AGE__): """