Skip to content

Commit ada2d9d

Browse files
yannj-frLucaButBoring
authored andcommitted
fix import for oauth2.py
1 parent f161149 commit ada2d9d

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/mcp/client/auth/__init__.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,22 @@
44
Implements authorization code flow with PKCE and automatic token refresh.
55
"""
66

7-
from mcp.client.auth.oauth2 import * # noqa: F403
7+
from mcp.client.auth.oauth2 import (
8+
OAuthClientProvider,
9+
OAuthContext,
10+
OAuthFlowError,
11+
OAuthRegistrationError,
12+
OAuthTokenError,
13+
PKCEParameters,
14+
TokenStorage,
15+
)
16+
17+
__all__ = [
18+
"OAuthClientProvider",
19+
"OAuthContext",
20+
"OAuthFlowError",
21+
"OAuthRegistrationError",
22+
"OAuthTokenError",
23+
"PKCEParameters",
24+
"TokenStorage",
25+
]

0 commit comments

Comments
 (0)