Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modstart-lib/aigcpanel
/ generateToken
Function
generateToken
electron/mapi/httpserver/main.ts:33–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
};
32
33
const
generateToken = (): string => {
34
return
(
35
crypto.randomUUID().replace(/-/g,
""
) +
36
crypto.randomUUID().replace(/-/g,
""
)
37
);
38
};
39
40
const
writeCliAuthFile = (port: number, token: string): void => {
41
try {
Callers
1
start
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected