MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / getStoredToken

Function getStoredToken

codex_image/codex_image.ts:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65function maskToken(token: string): string {
66 if (!token) return "(未配置)";
67 if (token.length <= 10) return `${token.slice(0, 2)}***${token.slice(-2)}`;
68 return `${token.slice(0, 4)}***${token.slice(-4)}`;
69}
70
71function formatDuration(ms: number): string {

Callers 2

getBearerTokenFunction · 0.85
handleCximgFunction · 0.85

Calls 1

getDbFunction · 0.70

Tested by

no test coverage detected