MCPcopy
hub / github.com/Mathieu2301/TradingView-API / genAuthCookies

Function genAuthCookies

src/utils.js:15–19  ·  view source on GitHub ↗
(sessionId = '', signature = '')

Source from the content-addressed store, hash-verified

13 },
14
15 genAuthCookies(sessionId = '', signature = '') {
16 if (!sessionId) return '';
17 if (!signature) return `sessionid=${sessionId}`;
18 return `sessionid=${sessionId};sessionid_sign=${signature}`;
19 },
20};

Callers 8

getIndicatorFunction · 0.85
getUserFunction · 0.85
getPrivateIndicatorsFunction · 0.85
getChartTokenFunction · 0.85
getUsersMethod · 0.85
addUserMethod · 0.85
modifyExpirationMethod · 0.85
removeUserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected