MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / getAuthHeaders

Function getAuthHeaders

front/common.js:607–612  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

605}
606
607function getAuthHeaders() {
608 return {
609 'Content-Type': 'application/json',
610 'Authorization': `Bearer ${AppState.authToken}`
611 };
612}
613
614function formatFileSize(bytes) {
615 if (bytes < 1024) return bytes + ' B';

Callers 15

refreshFunction · 0.85
actionFunction · 0.85
batchActionFunction · 0.85
toggleCredDetailsCommonFunction · 0.85
startAuthFunction · 0.85
getCredentialsFunction · 0.85
startAntigravityAuthFunction · 0.85
processCallbackUrlFunction · 0.85
downloadAntigravityCredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected