Skip to content

hungerMapAuthHeaders ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog

hungerMapAuthHeaders(credentials): Readonly<Record<string, string>>

Defined in: src/sources/hungermap.urls.ts (declaration: sources/hungermap.urls.d.ts:20)

Returns the authorization headers, refusing before any network I/O when no credential is set. The bearer spelling follows WFP's documented scheme; it cannot be exercised here because WFP issues no public credential.

Parameters ​

credentials ​

HungerMapCredentials

Returns ​

Readonly<Record<string, string>>

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.