@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface PublisherSigningKeyPinOptions

    The message a publisher pin is computed for (adcontextprotocol/adcp#9016). Pass the scope of the signed message: the pin comes only from entries that authorize it.

    interface PublisherSigningKeyPinOptions {
        adcpVersion?: string;
        at?: string | number | Date;
        country?: string;
        propertyIds?: readonly string[];
    }

    Hierarchy (View Summary)

    Index
    adcpVersion?: string

    AdCP release the caller negotiated or targets. Defaults to the SDK's pinned ADCP_VERSION.

    At 3.3 or later an origin-only entry (https://agent.example.com) authorizes the agent at that origin whatever its path. Below 3.3, or when the value is not a parseable AdCP version, every entry matches by exact canonical URL.

    at?: string | number | Date

    When the message applies, for effective_from / effective_until. Defaults to now. An entry outside its window authorizes nothing.

    country?: string

    ISO 3166-1 alpha-2 country the message concerns. An entry with countries authorizes the message only when this is one of them; with no country given, such an entry authorizes nothing.

    propertyIds?: readonly string[]

    The publisher's property_ids the message concerns. Each gets its own pin, and the result is the keys every one of them allows (a key must satisfy each property's pin). Omit to combine across every entry that authorizes the agent for anything.