MCPcopy Create free account
hub / github.com/vercel/vercel / tokenFingerprint

Function tokenFingerprint

packages/container/src/util.ts:199–203  ·  view source on GitHub ↗
(token: string | undefined)

Source from the content-addressed store, hash-verified

197}
198
199export function tokenFingerprint(token: string | undefined): string {
200 if (!token) return 'absent';
201 const sha = createHash('sha256').update(token).digest('hex').slice(0, 8);
202 return `present(len=${token.length}, sha256=${sha})`;
203}
204
205export function debugTokenClaims(
206 label: string,

Callers 2

buildAndPushImageFunction · 0.90
resolveOidcTokenForBuildFunction · 0.90

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected