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
Returns
Readonly<Record<string, string>>
