MCPcopy Create free account
hub / github.com/analyticswithadam/App_Script / auth

Function auth

Gemini_Functions.js:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26project = 'REPLACE WITH PROJECT ID';
27
28function auth() {
29 cache = CacheService.getUserCache();
30 token = ScriptApp.getOAuthToken();
31 cache.put("token", token);
32}
33
34function askGemini(inputText) {
35 cache = CacheService.getUserCache();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected