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

Function isOpaqueCliAuthCodeToken

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

Source from the content-addressed store, hash-verified

20}
21
22export function isOpaqueCliAuthCodeToken(authCode: string): boolean {
23 return OPAQUE_CLI_AUTH_CODE_TOKEN_RE.test(authCode.trim())
24}
25
26export function getCliAuthCodeHashPrefix(authCode: string): string {
27 return getCliAuthCodeHash(authCode).slice(0, 12)

Callers 4

OnboardFunction · 0.90
helpers.test.tsFile · 0.90
helpers.test.tsFile · 0.90
resolveCliAuthCodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected