We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f60679 commit 187824dCopy full SHA for 187824d
2 files changed
src/mcp/server/auth/handlers/revoke.py
@@ -4,9 +4,9 @@
4
Corresponds to TypeScript file: src/server/auth/handlers/revoke.ts
5
"""
6
7
-from typing import Callable, Optional
+from typing import Callable
8
9
-from pydantic import BaseModel, ValidationError
+from pydantic import ValidationError
10
from starlette.requests import Request
11
from starlette.responses import Response
12
@@ -20,7 +20,6 @@
20
from mcp.server.auth.provider import OAuthServerProvider, OAuthTokenRevocationRequest
21
22
23
-
24
class RevocationRequest(OAuthTokenRevocationRequest, ClientAuthRequest):
25
pass
26
src/mcp/server/auth/provider.py
@@ -11,7 +11,6 @@
from mcp.server.auth.types import AuthInfo
from mcp.shared.auth import (
13
OAuthClientInformationFull,
14
- OAuthTokenRevocationRequest,
15
OAuthTokens,
16
)
17
0 commit comments