# 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

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

## Parameters

- `data` (DelegationMessageData | null)
- `opts` (AcceptGrantOptions)

## Returns

`Promise<DelegationVerdict>`

Runs locally, with no request to the API.
