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): MParameters
messageMRequireddataDelegationMessageDataRequired
Returns
M
HTTP operation
Runs locally, with no request to the API.