MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / hasCallbackTokenSecret

Function hasCallbackTokenSecret

packages/worker-utils/src/callback-token.ts:38–40  ·  view source on GitHub ↗
(secret: string | null | undefined)

Source from the content-addressed store, hash-verified

36}
37
38function hasCallbackTokenSecret(secret: string | null | undefined): secret is string {
39 return typeof secret === 'string' && secret.trim().length > 0;
40}
41
42export async function deriveCallbackToken(params: CallbackTokenParams): Promise<string> {
43 const secret = params.secret;

Callers 2

deriveCallbackTokenFunction · 0.85
verifyCallbackTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected