Skip to content

AudienceTokenOption

The signed audience token (resolve on the Audience client returns it), sent as X-Ebitex-Audiences on the reads that depend on it. Content trusts nothing else about a visitor’s audiences: leaving it out, or sending one that is expired, forged or for another organization, is the same as being in no audience. The response to a request that carries one is never publicly cacheable. The high-level client (createContentClient with an audience option) obtains, sends and renews it for you; you pass one yourself only here.

optional audienceToken?: string