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

Function parseCredentials

packages/cli-auth/credentials-store.ts:53–56  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

51type PersistableAuthConfig = SharedAuthConfig;
52
53function parseCredentials(value: unknown): Credentials {
54 const { tokenSource, ...credentials } = cliConfig.parseAuthConfig(value);
55 return credentials;
56}
57
58function formatCredStorageError(value: unknown, source: string): string {
59 try {

Callers 2

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected