# acpExtensionDeclaration

acpExtensionDeclaration in @provenanceauth/rails/acp, Rails. The extension's `capabilities.extensions[]` declaration: both fields it adds, the complete request's `provenance_intent` and the session response's `provenance_approval_request`.

## Signature

```ts
acpExtensionDeclaration(opts?: { schemaUrl?: string; specUrl?: string; profile?: DiscoveryBlock }): AcpExtensionDeclaration
```

## Parameters

- `opts` ({ schemaUrl?: string; specUrl?: string; profile?: DiscoveryBlock }, optional)

## Returns

`AcpExtensionDeclaration`

Runs locally, with no request to the API.
