We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 375206f commit 826fdccCopy full SHA for 826fdcc
1 file changed
tests/server/fastmcp/auth/test_auth_integration.py
@@ -4,16 +4,13 @@
4
5
import base64
6
import hashlib
7
-import json
8
import secrets
9
import time
10
import unittest.mock
11
from urllib.parse import parse_qs, urlparse
12
13
-import anyio
14
import httpx
15
import pytest
16
-from httpx_sse import aconnect_sse
17
from pydantic import AnyHttpUrl
18
from starlette.applications import Starlette
19
@@ -30,14 +27,10 @@
30
27
RevocationOptions,
31
28
create_auth_routes,
32
29
)
33
-from mcp.server.auth.settings import AuthSettings
34
-from mcp.server.fastmcp import FastMCP
35
-from mcp.server.streaming_asgi_transport import StreamingASGITransport
36
from mcp.shared.auth import (
37
OAuthClientInformationFull,
38
OAuthToken,
39
40
-from mcp.types import JSONRPCRequest
41
42
43
# Mock OAuth provider for testing
0 commit comments