Skip to content

Commit 59e6c64

Browse files
committed
comments
1 parent 9c78e5e commit 59e6c64

File tree

1 file changed

+3
-3
lines changed
  • examples/servers/simple-auth/mcp_simple_auth

1 file changed

+3
-3
lines changed

examples/servers/simple-auth/mcp_simple_auth/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)