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

Function parseAuthConfig

packages/cli-config/src/cli-config.ts:54–56  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

52}
53
54export function parseAuthConfig(value: unknown): AuthConfig {
55 return authConfigSchema.parse(value);
56}
57
58export function parseAuthFileConfig(value: unknown): AuthFileConfig {
59 const { tokenSource, ...authConfig } = parseAuthConfig(value);

Callers 2

cli-config.test.tsFile · 0.90
parseAuthFileConfigFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected