adk_openapi_auth_broker (erlang_adk v0.7.0)

View Source

Per-principal OpenAPI credential broker.

A broker is normally supervised by the host application and bound to one principal. Its state contains opaque credential references and routing metadata only. API keys and fixed bearer tokens are fetched from a private credential store; OAuth access tokens come from adk_token_manager. Tool arguments and Runner context are never accepted by this process.

Summary

Functions

child_spec(Opts)

-spec child_spec(map()) -> supervisor:child_spec().

code_change(OldVsn, State, Extra)

format_status(Status)

handle_call(Request, From, State)

handle_cast(Message, State)

handle_info(Message, State)

init(Opts)

resolve(Server, Request)

start_link(Opts)

-spec start_link(map()) -> gen_server:start_ret().

terminate(Reason, State)