Fix pyright error and replace wildcard import with explicit imports (#1532)
This commit is contained in:
parent
f161149680
commit
8cdac3d2f8
2 changed files with 17 additions and 1 deletions
|
|
@ -4,4 +4,20 @@ OAuth2 Authentication implementation for HTTPX.
|
||||||
Implements authorization code flow with PKCE and automatic token refresh.
|
Implements authorization code flow with PKCE and automatic token refresh.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from mcp.client.auth.oauth2 import * # noqa: F403
|
from mcp.client.auth.oauth2 import (
|
||||||
|
OAuthClientProvider,
|
||||||
|
OAuthFlowError,
|
||||||
|
OAuthRegistrationError,
|
||||||
|
OAuthTokenError,
|
||||||
|
PKCEParameters,
|
||||||
|
TokenStorage,
|
||||||
|
)
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"OAuthClientProvider",
|
||||||
|
"OAuthFlowError",
|
||||||
|
"OAuthRegistrationError",
|
||||||
|
"OAuthTokenError",
|
||||||
|
"PKCEParameters",
|
||||||
|
"TokenStorage",
|
||||||
|
]
|
||||||
|
|
|
||||||
0
src/mcp/client/auth/extensions/__init__.py
Normal file
0
src/mcp/client/auth/extensions/__init__.py
Normal file
Loading…
Reference in a new issue