Added import of AuthProxy to auth __init__ (#1568)

This commit is contained in:
Sebastian Kalisz 2025-08-21 22:28:02 +02:00 committed by GitHub
commit fe8056fe30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -165,7 +165,7 @@ The `OAuthProxy` class provides the complete proxy implementation:
```python
from fastmcp import FastMCP
from fastmcp.server.auth.proxy import OAuthProxy
from fastmcp.server.auth import OAuthProxy
from fastmcp.server.auth.providers.jwt import JWTVerifier
# Configure token validation for your provider

View file

@ -6,6 +6,7 @@ from .auth import (
AuthProvider,
)
from .providers.jwt import JWTVerifier, StaticTokenVerifier
from .oauth_proxy import OAuthProxy
__all__ = [
@ -16,6 +17,7 @@ __all__ = [
"StaticTokenVerifier",
"RemoteAuthProvider",
"AccessToken",
"OAuthProxy",
]