(dataDir: string = resolveExecutorDataDir())
| 31 | |
| 32 | /** Absolute path to the auth-token file for a data directory. */ |
| 33 | export const localAuthTokenPath = (dataDir: string = resolveExecutorDataDir()): string => |
| 34 | join(serverControlDir(dataDir), "auth.json"); |
| 35 | |
| 36 | const mintToken = (): string => randomBytes(32).toString("base64url"); |
| 37 |
no test coverage detected