View as Markdown

SDK reference · Rails

readDelegationExtension

readDelegationExtension in @provenanceauth/rails/a2a, Rails. The receiver's declared params, read from its Agent Card: the extension entry with a P-256 public holder key, or null with why (the card doesn't list it, or the key isn't usable).

Signature

readDelegationExtension(card: unknown): { params: DelegationExtensionParams; required: boolean } | { params: null; reason: string }

Parameters

cardunknownRequired

Returns

{ params: DelegationExtensionParams; required: boolean } | { params: null; reason: string }

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.