Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ding113/claude-code-hub
/ api-key-auth-cache.test.ts
File
api-key-auth-cache.test.ts
tests/unit/security/api-key-auth-cache.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, test, vi } from
"vitest"
;
2
import
type
{ Key } from
"@/types/key"
;
3
import
type
{ User } from
"@/types/user"
;
4
Callers
nothing calls this directly
Calls
7
findActiveKeyByKeyString
Function · 0.85
validateApiKeyAndGetUser
Function · 0.85
createKey
Function · 0.85
buildKey
Function · 0.70
buildUser
Function · 0.70
updateKey
Function · 0.50
deleteKey
Function · 0.50
Tested by
no test coverage detected