adk_authorization_flow_exchange_sup (erlang_adk v0.7.0)

View Source

Dynamic supervisor for short-lived authorization-code exchanges.

Summary

Types

server/0

-type server() :: supervisor:sup_ref().

Functions

cancel_exchange(Supervisor, Generation)

-spec cancel_exchange(server(), reference()) -> ok.

child_spec(Opts)

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

init(Opts)

start_exchange(Supervisor, Manager, Generation)

-spec start_exchange(server(), pid(), reference()) -> supervisor:startchild_ret().

start_exchange(Supervisor, Manager, Generation, Deadline, MaxHeapWords)

-spec start_exchange(server(), pid(), reference(), integer(), pos_integer()) ->
                        supervisor:startchild_ret().

start_link()

-spec start_link() -> supervisor:startlink_ret().

start_link(Opts)

-spec start_link(map()) -> supervisor:startlink_ret().