mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-22 05:24:18 +02:00
Added import of AuthProxy to auth __init__ (#1568)
This commit is contained in:
parent
0d01b74abf
commit
fe8056fe30
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue