Module gateway

Module gateway 

Source

Re-exports§

pub use jwks::JwksClient;
pub use jwks::JwksError;

Modules§

jwks
JWKS (JSON Web Key Set) client for RSA token validation.

Structs§

AuthConfig
Authentication configuration for the runtime.
AuthMiddleware
Authentication middleware.
GatewayConfig
Gateway server configuration.
GatewayServer
Gateway HTTP server.
MetricsState
State for metrics middleware.
RpcError
RPC error information.
RpcHandler
RPC handler for function invocations.
RpcRequest
RPC request body for function calls.
RpcResponse
RPC response for function calls.
SseConfig
SSE configuration.
SseQuery
SSE query parameters.
SseState
State for SSE handler.
TracingMiddleware
Tracing middleware marker type.

Enums§

SsePayload
SSE event payload sent to clients.

Functions§

build_auth_context_from_claims
Build auth context from validated claims.
metrics_middleware
Metrics middleware that records HTTP request metrics.
rpc_multipart_handler
Handle multipart form data for RPC calls with file uploads.
sse_handler
SSE handler for GET /events.
sse_job_subscribe_handler
SSE job subscribe handler for POST /subscribe-job.
sse_subscribe_handler
SSE subscribe handler for POST /subscribe.
sse_unsubscribe_handler
SSE unsubscribe handler for POST /unsubscribe.
sse_workflow_subscribe_handler
SSE workflow subscribe handler for POST /subscribe-workflow.