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

Function getCliAuthCodeHash

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

Source from the content-addressed store, hash-verified

20const CONSUMED_CLI_AUTH_CODE_TOKEN_VALUE = 'consumed'
21
22function getCliAuthCodeHash(authCode: string): string {
23 return createHash('sha256').update(authCode.trim()).digest('hex')
24}
25
26export function buildCliAuthCode(
27 fingerprintId: string,

Callers 2

getCliAuthCodeHashPrefixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected