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

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

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)