SDK reference · Rails
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
acpExtensionDeclaration(opts?: { schemaUrl?: string; specUrl?: string; profile?: DiscoveryBlock }): AcpExtensionDeclarationParameters
opts{ schemaUrl?: string; specUrl?: string; profile?: DiscoveryBlock }
Returns
AcpExtensionDeclaration
HTTP operation
Runs locally, with no request to the API.