MCPcopy Index your code
hub / github.com/simstudioai/sim / getAccessToken

Function getAccessToken

apps/sim/lib/data-drains/destinations/gcs.ts:92–96  ·  view source on GitHub ↗
(jwt: JWT)

Source from the content-addressed store, hash-verified

90}
91
92async function getAccessToken(jwt: JWT): Promise<string> {
93 const { token } = await jwt.getAccessToken()
94 if (!token) throw new Error('Failed to obtain GCS access token')
95 return token
96}
97
98interface UploadInput {
99 bucket: string

Callers 2

uploadObjectFunction · 0.70
deleteObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected