# 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

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

## Parameters

- `card` (unknown)

## Returns

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

Runs locally, with no request to the API.
