MCPcopy
hub / github.com/simstudioai/sim / auth.test.ts

File auth.test.ts

apps/sim/lib/api-key/auth.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Tests for API key authentication utilities.
3 *
4 * Tests cover:

Callers

nothing calls this directly

Calls 11

isEncryptedKeyFunction · 0.90
createEncryptedApiKeyFunction · 0.90
createLegacyApiKeyFunction · 0.90
isValidApiKeyFormatFunction · 0.90
getApiKeyLast4Function · 0.90
formatApiKeyForDisplayFunction · 0.90
isEncryptedApiKeyFormatFunction · 0.85
isLegacyApiKeyFormatFunction · 0.85
generateApiKeyFunction · 0.85
generateEncryptedApiKeyFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected