Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arctic-cli/interface
/ createState
Function
createState
packages/arctic/src/auth/codex-oauth/auth/auth.ts:16–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
* @returns Random hex string
15
*/
16
export
function
createState(): string {
17
return
randomBytes(16).toString(
"hex"
);
18
}
19
20
/**
21
* Parse authorization code and state from user input
Callers
1
createAuthorizationFlow
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected