Skip to content
providerkit
GitHub

A2APushPolicy

Defined in: agents/src/a2a/push.ts:22

optional fetch?: FetchLike;

Defined in: agents/src/a2a/push.ts:28


optional signingSecret?: string;

Defined in: agents/src/a2a/push.ts:31

Optional providerkit extension, not an A2A standard signature header.


optional timeoutMs?: number;

Defined in: agents/src/a2a/push.ts:29

allow(url, scope): boolean | Promise<boolean>;

Defined in: agents/src/a2a/push.ts:27

Rechecked before every delivery. DNS/address pinning belongs to this hook’s egress proxy or fetch implementation; portable literal checks alone cannot prove DNS safety.

Parameter Type
url URL
scope A2ATaskScope

boolean | Promise<boolean>


authorize(scope, taskId): boolean | Promise<boolean>;

Defined in: agents/src/a2a/push.ts:24

Rechecked before every delivery. Must enforce current task access, not just the URL.

Parameter Type
scope A2ATaskScope
taskId string

boolean | Promise<boolean>