MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / rotateLocalAuthToken

Function rotateLocalAuthToken

apps/local/src/auth.ts:72–73  ·  view source on GitHub ↗
(dataDir: string = resolveExecutorDataDir())

Source from the content-addressed store, hash-verified

70 * and restart any running server so the new token takes effect.
71 */
72export const rotateLocalAuthToken = (dataDir: string = resolveExecutorDataDir()): string =>
73 writeToken(dataDir, mintToken());

Callers 1

main.tsFile · 0.90

Calls 3

resolveExecutorDataDirFunction · 0.70
writeTokenFunction · 0.70
mintTokenFunction · 0.70

Tested by

no test coverage detected