pub fn parse_audiences_env() -> Vec<String>Expand description
Resolve the accepted-audience allowlist from environment.
Priority (first source wins):
ATI_JWT_ACCEPTED_AUDIENCES(CSV) — operator declares an allowlist, e.g."ati-proxy,parcha-custom-tools". Used when the proxy accepts multiple aud values for per-provider audience separation (#121).ATI_JWT_AUDIENCE(singular) — back-compat with v0.7.x single-aud deployments; wrapped in a one-element vec.- Default:
["ati-proxy"]— preserves v0.7.x behaviour when nothing is set.
Empty/whitespace-only CSV entries are dropped. An empty list falls
through to the singular env / default rather than producing
Vec::new() (which validate() would interpret as “accept any aud”).