Skip to main content
Glama
ingeno
by ingeno
bearer.py923 B
"""Backwards compatibility shim for BearerAuthProvider. The BearerAuthProvider class has been moved to fastmcp.server.auth.providers.jwt.JWTVerifier for better organization. This module provides a backwards-compatible import. """ import warnings import fastmcp from fastmcp.server.auth.providers.jwt import JWKData, JWKSData, RSAKeyPair from fastmcp.server.auth.providers.jwt import JWTVerifier as BearerAuthProvider # Re-export for backwards compatibility __all__ = ["BearerAuthProvider", "RSAKeyPair", "JWKData", "JWKSData"] # Deprecated in 2.11 if fastmcp.settings.deprecation_warnings: warnings.warn( "The `fastmcp.server.auth.providers.bearer` module is deprecated " "and will be removed in a future version. " "Please use `fastmcp.server.auth.providers.jwt.JWTVerifier` " "instead of this module's BearerAuthProvider.", DeprecationWarning, stacklevel=2, )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ingeno/mcp-openapi-lambda'

If you have feedback or need assistance with the MCP directory API, please join our Discord server