MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getCliAuthCodeHash

Function getCliAuthCodeHash

web/src/app/onboard/_helpers.ts:10–12  ·  view source on GitHub ↗
(authCode: string)

Source from the content-addressed store, hash-verified

8const CONSUMED_CLI_AUTH_CODE_TOKEN_VALUE = 'consumed'
9
10function getCliAuthCodeHash(authCode: string): string {
11 return createHash('sha256').update(authCode.trim()).digest('hex')
12}
13
14export function buildCliAuthCode(
15 fingerprintId: string,

Callers 2

getCliAuthCodeHashPrefixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected