adk_authorization_code_adapter behaviour (erlang_adk v0.7.0)
View SourceInternal adapter contract for an OAuth/OIDC authorization-code flow.
Implementations receive only operator-owned context and manager-generated flow bindings. Browser callers can never select an adapter or inject transport options.
Summary
Types
Callbacks
-callback authorization_uri(context(), authorization_opts()) -> {ok, iodata()} | {error, term()}.
-callback exchange_code(context(), binary(), exchange_opts()) -> {ok, adk_credential_store:credential()} | {error, term()}.