adk_token_refresh_worker (erlang_adk v0.7.0)

View Source

Short-lived worker that resolves an opaque credential reference and invokes an authentication provider.

The child specification contains no secret material. Raw credentials exist only on this process' callback stack and in its linked provider process; neither is retained in gen_server state or emitted as an error.

Summary

Functions

code_change(OldVersion, State, Extra)

format_status(Status)

handle_call(Request, From, State)

handle_cast(Request, State)

handle_info(Info, State)

init(_)

perform(Worker, Work)

-spec perform(pid(), map()) -> ok.

start_link(Manager, Generation)

-spec start_link(pid(), reference()) -> gen_server:start_ret().

terminate(Reason, State)