@adcp/sdk API Reference - v14.0.0-beta.6
    Preparing search index...

    Interface WebhookVerificationConfig

    interface WebhookVerificationConfig {
        jwks?: JwksResolver;
        replayStore?: ReplayStore;
        revocationStore?: RevocationStore;
        now?: () => number;
        resolverOptions?: Omit<
            ResolvedAgentJwksResolverOptions,
            "fetchCapabilities",
        >;
        fetchCapabilities?: (
            agentUrl: string,
            protocol: "mcp" | "a2a",
        ) => Promise<unknown>;
    }
    Index

    Properties

    jwks?: JwksResolver

    Deterministic/custom key source. Defaults to resolveAgent brand.json discovery.

    replayStore?: ReplayStore

    Shared nonce replay store. Defaults to one process-local store per client.

    revocationStore?: RevocationStore

    Key revocation source. Defaults to one process-local store per client.

    now?: () => number

    Clock in epoch seconds.

    resolverOptions?: Omit<ResolvedAgentJwksResolverOptions, "fetchCapabilities">

    Safe discovery/cache tuning for the default seller-pinned JWK resolver.

    fetchCapabilities?: (
        agentUrl: string,
        protocol: "mcp" | "a2a",
    ) => Promise<unknown>

    Fetch capabilities for seller key discovery. The callback must authenticate only to the supplied, already-pinned seller URL and protocol.