solutions_agents.api.dependencies
Fail-closed internal authentication and runtime dependencies.
Functions
get_runtime
get_runtime(request: Request) -> WorkflowRuntimeReturn the lifespan-constructed runtime or a retryable readiness error.
require_internal_auth
require_internal_auth(credentials: Annotated[HTTPAuthorizationCredentials | None, Depends(_BEARER)], runtime: Annotated[WorkflowRuntime, Depends(get_runtime)]) -> WorkflowRuntimeAuthenticate without logging or returning any token material.