Attesto.Plug.ResourceMetadata (Attesto v2.28.0)

Copy Markdown View Source

Serve one RFC 9728 protected-resource document as JSON.

Requires :resource_path and the options accepted by Attesto.ResourceMetadata.protected_resource/3. :scopes is an alias for :scopes_supported. Static pins permit public caching for one hour; callback or request-derived origins use no-store. :metadata optionally selects a protocol adapter with the same metadata builder contract.