ConduitMcp.OAuth.KeyProvider.JWKS.Owner (ConduitMCP v0.11.0)

Copy Markdown View Source

Long-lived process that owns the :conduit_mcp_jwks_cache ETS table so the JWKS cache survives — and stays stable under concurrency — across short-lived Bandit request processes. Started under ConduitMcp.Supervisor by ConduitMcp.Application whenever this provider module is available.

Without a stable owner the table would be created by whichever request first fetched keys and destroyed when that request ended, both defeating cross-request caching and risking an :ets.insert/:ets.lookup ArgumentError in a concurrent request when the owner dies mid-operation.

Summary

Functions

child_spec(opts)

start_link(opts)