MCPcopy Create free account
hub / github.com/algolia/algoliasearch-client-javascript / headers

Function headers

packages/client-common/src/createAuth.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16 return {
17 headers(): Headers {
18 return authMode === 'WithinHeaders' ? credentials : {};
19 },
20
21 queryParameters(): QueryParameters {
22 return authMode === 'WithinQueryParameters' ? credentials : {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected