File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/servers/simple-auth/mcp_simple_auth Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ async def load_access_token(self, token: str) -> AccessToken | None:
230230 async def load_refresh_token (
231231 self , client : OAuthClientInformationFull , refresh_token : str
232232 ) -> RefreshToken | None :
233- """Load a refresh token ( not supported by GitHub) ."""
233+ """Load a refresh token - not supported."""
234234 return None
235235
236236 async def exchange_refresh_token (
@@ -239,8 +239,8 @@ async def exchange_refresh_token(
239239 refresh_token : RefreshToken ,
240240 scopes : list [str ],
241241 ) -> OAuthToken :
242- """Exchange refresh token (not supported by GitHub). """
243- raise NotImplementedError ("GitHub OAuth does not support refresh tokens " )
242+ """Exchange refresh token """
243+ raise NotImplementedError ("Not supported " )
244244
245245 async def revoke_token (
246246 self , token : str , token_type_hint : str | None = None
You can’t perform that action at this time.
0 commit comments