Fix pyright error and replace wildcard import with explicit imports (#1532)
This commit is contained in:
@@ -4,4 +4,20 @@ OAuth2 Authentication implementation for HTTPX.
|
||||
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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user