Function: authHeaders()
authHeaders(
client):Promise<Record<string,string>>
Mint auth headers for one upstream request as a plain object, ready to spread
into a fetch init. Call it per request: the SDK refreshes the underlying
token when needed, so a long-lived process never has to track expiry itself.
Parameters
Section titled “Parameters”client
Section titled “client”Returns
Section titled “Returns”Promise<Record<string, string>>