MCPcopy Create free account
hub / github.com/pollinations/pollinations / getAuthQueryParam

Function getAuthQueryParam

packages/mcp/src/utils/authUtils.js:46–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 * @returns {Object} - Query params object with key if set
45 */
46export function getAuthQueryParam() {
47 if (!apiKey) return {};
48 return { key: apiKey };
49}
50
51/**
52 * @returns {string|null} - Masked key like "pk_...abc123" or null

Callers 1

buildUrlFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected