View as Markdown

SDK reference · Rails

withDelegation

withDelegation in @provenanceauth/rails/a2a, Rails. The message with the grant attached under the extension URI, and the URI listed in extensions.

Signature

withDelegation<M extends A2AMessage>(message: M, data: DelegationMessageData): M

Parameters

messageMRequired
dataDelegationMessageDataRequired

Returns

M

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.