View as Markdown

SDK reference · Rails

acceptGrant

acceptGrant in @provenanceauth/rails/a2a, Rails. The receiver's check of a grant it was handed, whatever carried it (A2A metadata here, MCP _meta in @provenanceauth/rails/mcp): see.

Signature

acceptGrant(data: DelegationMessageData | null, opts: AcceptGrantOptions): Promise<DelegationVerdict>

Parameters

dataDelegationMessageData | nullRequired
optsAcceptGrantOptionsRequired

Returns

Promise<DelegationVerdict>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.