adk_authorizer behaviour (erlang_adk v0.7.0)
View SourceBehaviour for production authentication-bound authorization policy.
Implementations receive an identity which has already been authenticated by a trusted HTTP/OIDC boundary. They must make a decision for the exact operation and resource; possession of an authenticated identity alone is not authorization.
Summary
Types
-type action() :: list_agents | start_run | observe_run | control_run | resume_run.
-type identity() :: adk_jwt_policy:identity().
-type resource() :: map().