File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
Corresponds to TypeScript file: src/server/auth/handlers/revoke.ts
5
5
"""
6
6
7
- from typing import Callable , Optional
7
+ from typing import Callable
8
8
9
- from pydantic import BaseModel , ValidationError
9
+ from pydantic import ValidationError
10
10
from starlette .requests import Request
11
11
from starlette .responses import Response
12
12
20
20
from mcp .server .auth .provider import OAuthServerProvider , OAuthTokenRevocationRequest
21
21
22
22
23
-
24
23
class RevocationRequest (OAuthTokenRevocationRequest , ClientAuthRequest ):
25
24
pass
26
25
Original file line number Diff line number Diff line change 11
11
from mcp .server .auth .types import AuthInfo
12
12
from mcp .shared .auth import (
13
13
OAuthClientInformationFull ,
14
- OAuthTokenRevocationRequest ,
15
14
OAuthTokens ,
16
15
)
17
16
You can’t perform that action at this time.
0 commit comments