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

Function getCliAuthCodeHashPrefix

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

Source from the content-addressed store, hash-verified

32}
33
34export function getCliAuthCodeHashPrefix(authCode: string): string {
35 return getCliAuthCodeHash(authCode).slice(0, 12)
36}
37
38export function getCliAuthCodeTokenIdentifier(authCodeToken: string): string {
39 return `${CLI_AUTH_CODE_TOKEN_IDENTIFIER_PREFIX}${authCodeToken}`

Callers 5

OnboardFunction · 0.90
helpers.test.tsFile · 0.90
redirectFunction · 0.90
POSTFunction · 0.90
LoginPageFunction · 0.90

Calls 1

getCliAuthCodeHashFunction · 0.70

Tested by

no test coverage detected