Expand description
Middleware components for the microsandbox server.
This module handles:
- Request/response middleware
- Authentication and authorization
- Request tracing and logging
- Error handling
The module provides:
- Middleware components for common operations
- Authentication middleware for API security
- Logging and tracing middleware
Functionsยง
- auth_
middleware - Authentication middleware for verifying API keys and namespace access
- logging_
middleware - Log incoming requests
- proxy_
middleware - Proxy middleware for forwarding requests to a target service
- proxy_
uri - Convert a URI to a proxied URI targeting a sandbox
- validate_
token_ and_ namespace - Validate the token and check namespace access