Versions in this module Expand all Collapse all v0 v0.1.0 Feb 23, 2026 Changes in this version + const ContextKeyAPIKeyID + const ContextKeyAPIKeyScopes + const ContextKeyUserID + func CORSMiddleware(cfg config.CORSConfig) func(http.Handler) http.Handler + func RateLimitMiddleware(cfg config.RateLimitConfig) (func(http.Handler) http.Handler, error) + type AuthMiddleware struct + func NewAuthMiddleware(api huma.API, tokenStore auth.TokenStore, apiKeyStore auth.APIKeyStore) *AuthMiddleware + func (m *AuthMiddleware) Handle(ctx huma.Context, next func(huma.Context))