View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/server/auth/middleware.py
AuthMiddleware
method init
Initialize auth middleware.ParametersSignatureThe ASGI applicationProvider to validate tokensPaths to exclude from authenticationPaths that require authentication (default: /mcp)